#E0C04E#E0C04E

#E0C04E is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.136 H 93.4°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#E0C04E
RGBrgb(224, 192, 78)
HSLhsl(47, 70%, 59%)
HSVhsv(47, 65%, 88%)
CMYKcmyk(0%, 14.3%, 65.2%, 12.2%)
CIE-LABlab(78.52, -1.20, 59.75)
CIE-LCHlch(78.52, 59.77, 91.15°)
OKLaboklab(81.45% -0.008 0.1356)
OKLCHoklch(81.45% 0.136 93.4)
XYZxyz(50.9677, 54.0993, 14.9639)
Luminance0.5410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C04E #4E6EE0
analogous
#E0774E #E0C04E #B7E04E
triadic
#E0C04E #4EE0C0 #C04EE0
tetradic
#E0C04E #4EE077 #4E6EE0 #E04EB7
square
#E0C04E #4EE077 #4E6EE0 #E04EB7
split-complementary
#E0C04E #4EB7E0 #774EE0
monochromatic
#997D1B #CDA824 #E0C04E #E9D382 #F2E5B6

Accessibility & contrast

On white

1.78
#E0C04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#E0C04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C04E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C04E#FFFFFF#000000##000000
##E0C04E1.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD40
Deuteranopia (green-blind)
#DBC654
Tritanopia (blue-blind)
#F1B2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #e0c04e;
/* rgb */ color: rgb(224, 192, 78);
/* oklch */ color: oklch(81.4% 0.136 93.4);
Tailwind
colors: {
  custom: {
    50: '#edd285',
    500: '#e0c04e',
    950: '#000000',
  },
}
SCSS
$custom: #e0c04e;
$custom-light: #edd285;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c04e",
  "rgb": {
    "r": 224,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 46.849,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81449,
    "c": 0.1358,
    "h": 93.4
  },
  "luminance": 0.54097
}

Semantic roles & 50–950 ramp

primary
#E0C04E
secondary
#354C9D
accent
#62ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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