#E9C962#E9C962

#E9C962 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.3% C 0.127 H 92.2°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#E9C962
RGBrgb(233, 201, 98)
HSLhsl(46, 75%, 65%)
HSVhsv(46, 58%, 91%)
CMYKcmyk(0%, 13.7%, 57.9%, 8.6%)
CIE-LABlab(81.83, -0.77, 54.71)
CIE-LCHlch(81.83, 54.71, 90.81°)
OKLaboklab(84.32% -0.005 0.1272)
OKLCHoklch(84.32% 0.127 92.2)
XYZxyz(56.6980, 59.9816, 20.1441)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C962 #6282E9
analogous
#E98662 #E9C962 #C5E962
triadic
#E9C962 #62E9C9 #C962E9
tetradic
#E9C962 #62E986 #6282E9 #E962C5
square
#E9C962 #62E986 #6282E9 #E962C5
split-complementary
#E9C962 #62C5E9 #8662E9
monochromatic
#B7921A #E1B72C #E9C962 #F1DB98 #F8EECD

Accessibility & contrast

On white

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

On black

13.00
#E9C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C962
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C962#FFFFFF#000000##000000
##E9C9621.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#E4CF66
Tritanopia (blue-blind)
#FABBB2
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e9c962;
/* rgb */ color: rgb(233, 201, 98);
/* oklch */ color: oklch(84.3% 0.127 92.2);
Tailwind
colors: {
  custom: {
    50: '#f3d992',
    500: '#e9c962',
    950: '#000000',
  },
}
SCSS
$custom: #e9c962;
$custom-light: #f3d992;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c962",
  "rgb": {
    "r": 233,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 45.778,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84317,
    "c": 0.12734,
    "h": 92.2
  },
  "luminance": 0.59979
}

Semantic roles & 50–950 ramp

primary
#E9C962
secondary
#3856B7
accent
#3ED80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E9C962

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

Preview Lab → · Contrast checker → · Palette generator →

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