#ECC04F#ECC04F

#ECC04F is a very light, vivid orange. Relative luminance 0.561; OKLCH L 82.6% C 0.138 H 87.5°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#ECC04F
RGBrgb(236, 192, 79)
HSLhsl(43, 81%, 62%)
HSVhsv(43, 67%, 93%)
CMYKcmyk(0%, 18.6%, 66.5%, 7.5%)
CIE-LABlab(79.67, 3.92, 60.89)
CIE-LCHlch(79.67, 61.02, 86.32°)
OKLaboklab(82.63% 0.0061 0.1378)
OKLCHoklch(82.63% 0.138 87.5)
XYZxyz(54.8560, 56.1001, 15.3347)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC04F #4F7BEC
analogous
#EC724F #ECC04F #C9EC4F
triadic
#ECC04F #4FECC0 #C04FEC
tetradic
#ECC04F #4FEC72 #4F7BEC #EC4FC9
square
#ECC04F #4FEC72 #4F7BEC #EC4FC9
split-complementary
#ECC04F #4FC9EC #724FEC
monochromatic
#AE8213 #E5AC19 #ECC04F #F2D486 #F8E8BD

Accessibility & contrast

On white

1.72
#ECC04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#ECC04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC04F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC04F#FFFFFF#000000##000000
##ECC04F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#E0CA54
Tritanopia (blue-blind)
#FFB0A8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ecc04f;
/* rgb */ color: rgb(236, 192, 79);
/* oklch */ color: oklch(82.6% 0.138 87.5);
Tailwind
colors: {
  custom: {
    50: '#f6d285',
    500: '#ecc04f',
    950: '#000000',
  },
}
SCSS
$custom: #ecc04f;
$custom-light: #f6d285;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc04f",
  "rgb": {
    "r": 236,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 43.185,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82625,
    "c": 0.13789,
    "h": 87.5
  },
  "luminance": 0.56097
}

Semantic roles & 50–950 ramp

primary
#ECC04F
secondary
#3154AE
accent
#44DD09
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #ECC04F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ECC04F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva