#E0C54A#E0C54A

#E0C54A is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.4% C 0.142 H 96.7°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#E0C54A
RGBrgb(224, 197, 74)
HSLhsl(49, 71%, 58%)
HSVhsv(49, 67%, 88%)
CMYKcmyk(0%, 12.1%, 67%, 12.2%)
CIE-LABlab(79.77, -4.01, 62.75)
CIE-LCHlch(79.77, 62.88, 93.66°)
OKLaboklab(82.43% -0.0166 0.1413)
OKLCHoklch(82.43% 0.142 96.7)
XYZxyz(51.9452, 56.2768, 14.6036)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C54A #4A65E0
analogous
#E07A4A #E0C54A #B0E04A
triadic
#E0C54A #4AE0C5 #C54AE0
tetradic
#E0C54A #4AE07A #4A65E0 #E04AB0
square
#E0C54A #4AE07A #4A65E0 #E04AB0
split-complementary
#E0C54A #4AB0E0 #7A4AE0
monochromatic
#96801A #CAAC23 #E0C54A #E9D67E #F2E6B3

Accessibility & contrast

On white

1.71
#E0C54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#E0C54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C54A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C54A#FFFFFF#000000##000000
##E0C54A1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13A
Deuteranopia (green-blind)
#DFCA51
Tritanopia (blue-blind)
#F1B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e0c54a;
/* rgb */ color: rgb(224, 197, 74);
/* oklch */ color: oklch(82.4% 0.142 96.7);
Tailwind
colors: {
  custom: {
    50: '#edd683',
    500: '#e0c54a',
    950: '#000000',
  },
}
SCSS
$custom: #e0c54a;
$custom-light: #edd683;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c54a",
  "rgb": {
    "r": 224,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 49.2,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82429,
    "c": 0.14223,
    "h": 96.7
  },
  "luminance": 0.56274
}

Semantic roles & 50–950 ramp

primary
#E0C54A
secondary
#34469A
accent
#5BEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C54A

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

Preview Lab → · Contrast checker → · Palette generator →

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