#ECC04E#ECC04E

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

Color values

HEX#ECC04E
RGBrgb(236, 192, 78)
HSLhsl(43, 81%, 62%)
HSVhsv(43, 67%, 93%)
CMYKcmyk(0%, 18.6%, 66.9%, 7.5%)
CIE-LABlab(79.66, 3.86, 61.31)
CIE-LCHlch(79.66, 61.43, 86.40°)
OKLaboklab(82.62% 0.0058 0.1385)
OKLCHoklch(82.62% 0.139 87.6)
XYZxyz(54.8198, 56.0856, 15.1444)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC04E #4E7AEC
analogous
#EC714E #ECC04E #C9EC4E
triadic
#ECC04E #4EECC0 #C04EEC
tetradic
#ECC04E #4EEC71 #4E7AEC #EC4EC9
square
#ECC04E #4EEC71 #4E7AEC #EC4EC9
split-complementary
#ECC04E #4EC9EC #714EEC
monochromatic
#AD8213 #E4AC19 #ECC04E #F2D485 #F8E7BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC04E#FFFFFF#000000##000000
##ECC04E1.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)
#D5BF40
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#FFB0A8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ecc04e;
/* rgb */ color: rgb(236, 192, 78);
/* oklch */ color: oklch(82.6% 0.139 87.6);
Tailwind
colors: {
  custom: {
    50: '#f6d285',
    500: '#ecc04e',
    950: '#000000',
  },
}
SCSS
$custom: #ecc04e;
$custom-light: #f6d285;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc04e",
  "rgb": {
    "r": 236,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 43.291,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82616,
    "c": 0.13861,
    "h": 87.6
  },
  "luminance": 0.56082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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