#E9C951#E9C951

#E9C951 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.1% C 0.141 H 94.1°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E9C951
RGBrgb(233, 201, 81)
HSLhsl(47, 78%, 62%)
HSVhsv(47, 65%, 91%)
CMYKcmyk(0%, 13.7%, 65.2%, 8.6%)
CIE-LABlab(81.67, -1.88, 62.08)
CIE-LCHlch(81.67, 62.11, 91.74°)
OKLaboklab(84.14% -0.0102 0.1407)
OKLCHoklch(84.14% 0.141 94.1)
XYZxyz(55.9788, 59.6940, 16.3565)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C951 #5171E9
analogous
#E97D51 #E9C951 #BDE951
triadic
#E9C951 #51E9C9 #C951E9
tetradic
#E9C951 #51E97D #5171E9 #E951BD
square
#E9C951 #51E97D #5171E9 #E951BD
split-complementary
#E9C951 #51BDE9 #7D51E9
monochromatic
#AA8B16 #E0B71C #E9C951 #F0DA87 #F7EBBE

Accessibility & contrast

On white

1.62
#E9C951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#E9C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C951
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C951#FFFFFF#000000##000000
##E9C9511.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#FBBAB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e9c951;
/* rgb */ color: rgb(233, 201, 81);
/* oklch */ color: oklch(84.1% 0.141 94.1);
Tailwind
colors: {
  custom: {
    50: '#f4d987',
    500: '#e9c951',
    950: '#000000',
  },
}
SCSS
$custom: #e9c951;
$custom-light: #f4d987;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c951",
  "rgb": {
    "r": 233,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 47.368,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84142,
    "c": 0.14106,
    "h": 94.1
  },
  "luminance": 0.59691
}

Semantic roles & 50–950 ramp

primary
#E9C951
secondary
#334CAB
accent
#37DA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9C951

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

Preview Lab → · Contrast checker → · Palette generator →

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