#F2BC4E

A color in the Orange, Brown family

#f2bc4e is a color in the Orange, Brown family: RGB(242, 188, 78), HSL(40°, 86%, 63%), CMYK(0%, 22%, 68%, 5%). Closest named color: orange. Contrast is 1.74:1 on white and 12.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2bc4e
RGBrgb(242 188 78)
RGB (legacy)rgb(242, 188, 78)
RGB %rgb(95% 74% 31%)
HSLhsl(40 86% 63%)
HSV / HSBhsv(40, 68%, 95%)
HWBhwb(40 31% 5%)
CMYKcmyk(0%, 22%, 68%, 5%)
CIELAB (D50)lab(79.77 12.11 61.24)
LCHlch(79.77 62.43 78.81)
OKLaboklab(0.8244 0.0188 0.1378)
OKLCHoklch(0.8244 0.1391 82.23)
Decimal15907918

Properties

Color ToneOrange, Brown
Closest named colororange ΔE 5.5
Closest web-safe color#ffcc66
Hue40°
Saturation (HSL / HSV)86% / 68%
Lightness (HSL)63%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)75% / 75%
Relative luminance (WCAG)0.5539
Red / Green / Blue242 / 188 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 31.4 / -71.3 · As background with white / black text: Lc -35.3 / 72.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f2bc4e;
  --color-brand-oklch: oklch(82.44% 0.1391 82.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 188 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2bc4e] text-[#f2bc4e] border-[#f2bc4e]">