#E9D662#E9D662

#E9D662 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.137 H 100.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E9D662
RGBrgb(233, 214, 98)
HSLhsl(52, 75%, 65%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 8.2%, 57.9%, 8.6%)
CIE-LABlab(85.15, -7.41, 58.48)
CIE-LCHlch(85.15, 58.95, 97.22°)
OKLaboklab(86.95% -0.0241 0.1353)
OKLCHoklch(86.95% 0.137 100.1)
XYZxyz(59.8577, 66.3010, 21.1973)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D662 #6275E9
analogous
#E99362 #E9D662 #B8E962
triadic
#E9D662 #62E9D6 #D662E9
tetradic
#E9D662 #62E993 #6275E9 #E962B8
square
#E9D662 #62E993 #6275E9 #E962B8
split-complementary
#E9D662 #62B8E9 #9362E9
monochromatic
#B7A11A #E1C82C #E9D662 #F1E498 #F8F2CD

Accessibility & contrast

On white

1.47
#E9D662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E9D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D662
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D662#FFFFFF#000000##000000
##E9D6621.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D056
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#F9C8BD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e9d662;
/* rgb */ color: rgb(233, 214, 98);
/* oklch */ color: oklch(86.9% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#f3e292',
    500: '#e9d662',
    950: '#000000',
  },
}
SCSS
$custom: #e9d662;
$custom-light: #f3e292;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d662",
  "rgb": {
    "r": 233,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 51.556,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86945,
    "c": 0.13747,
    "h": 100.1
  },
  "luminance": 0.66299
}

Semantic roles & 50–950 ramp

primary
#E9D662
secondary
#384AB7
accent
#2AD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D662

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

Preview Lab → · Contrast checker → · Palette generator →

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