#E5C94A#E5C94A

#E5C94A is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.146 H 96.6°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#E5C94A
RGBrgb(229, 201, 74)
HSLhsl(49, 75%, 59%)
HSVhsv(49, 68%, 90%)
CMYKcmyk(0%, 12.2%, 67.7%, 10.2%)
CIE-LABlab(81.25, -3.96, 64.42)
CIE-LCHlch(81.25, 64.54, 93.52°)
OKLaboklab(83.71% -0.0167 0.1446)
OKLCHoklch(83.71% 0.146 96.6)
XYZxyz(54.4384, 58.9285, 14.9841)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C94A #4A66E5
analogous
#E57C4A #E5C94A #B4E54A
triadic
#E5C94A #4AE5C9 #C94AE5
tetradic
#E5C94A #4AE57C #4A66E5 #E54AB4
square
#E5C94A #4AE57C #4A66E5 #E54AB4
split-complementary
#E5C94A #4AB4E5 #7C4AE5
monochromatic
#9E8517 #D3B31E #E5C94A #EDD980 #F4E9B5

Accessibility & contrast

On white

1.64
#E5C94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#E5C94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C94A
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C94A#FFFFFF#000000##000000
##E5C94A1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC539
Deuteranopia (green-blind)
#E4CE51
Tritanopia (blue-blind)
#F7BAAF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e5c94a;
/* rgb */ color: rgb(229, 201, 74);
/* oklch */ color: oklch(83.7% 0.146 96.6);
Tailwind
colors: {
  custom: {
    50: '#f1d983',
    500: '#e5c94a',
    950: '#000000',
  },
}
SCSS
$custom: #e5c94a;
$custom-light: #f1d983;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c94a",
  "rgb": {
    "r": 229,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 49.161,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83708,
    "c": 0.1456,
    "h": 96.6
  },
  "luminance": 0.58926
}

Semantic roles & 50–950 ramp

primary
#E5C94A
secondary
#3246A1
accent
#58F136
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E5C94A

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

Preview Lab → · Contrast checker → · Palette generator →

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