#E8D662#E8D662

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

Color values

HEX#E8D662
RGBrgb(232, 214, 98)
HSLhsl(52, 74%, 65%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 7.8%, 57.8%, 9%)
CIE-LABlab(85.06, -7.82, 58.36)
CIE-LCHlch(85.06, 58.88, 97.63°)
OKLaboklab(86.86% -0.0252 0.1351)
OKLCHoklch(86.86% 0.137 100.6)
XYZxyz(59.5321, 66.1331, 21.1820)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D662 #6274E8
analogous
#E89362 #E8D662 #B7E862
triadic
#E8D662 #62E8D6 #D662E8
tetradic
#E8D662 #62E893 #6274E8 #E862B7
square
#E8D662 #62E893 #6274E8 #E862B7
split-complementary
#E8D662 #62B7E8 #9362E8
monochromatic
#B5A01B #E0C82D #E8D662 #F0E497 #F8F2CD

Accessibility & contrast

On white

1.48
#E8D662 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#E8D662 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D662
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D662#FFFFFF#000000##000000
##E8D6621.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d662;
/* rgb */ color: rgb(232, 214, 98);
/* oklch */ color: oklch(86.9% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#f2e292',
    500: '#e8d662',
    950: '#000000',
  },
}
SCSS
$custom: #e8d662;
$custom-light: #f2e292;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d662",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 98
  },
  "hsl": {
    "h": 51.94,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86857,
    "c": 0.13744,
    "h": 100.6
  },
  "luminance": 0.66131
}

Semantic roles & 50–950 ramp

primary
#E8D662
secondary
#394AB5
accent
#2AD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D662

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

Preview Lab → · Contrast checker → · Palette generator →

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