#E8E17A#E8E17A

#E8E17A is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.4% C 0.126 H 105.2°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#E8E17A
RGBrgb(232, 225, 122)
HSLhsl(56, 71%, 69%)
HSVhsv(56, 47%, 91%)
CMYKcmyk(0%, 3%, 47.4%, 9%)
CIE-LABlab(88.17, -11.39, 50.88)
CIE-LCHlch(88.17, 52.14, 102.62°)
OKLaboklab(89.4% -0.0329 0.1212)
OKLCHoklch(89.4% 0.126 105.2)
XYZxyz(63.7183, 72.4132, 29.0292)
Luminance0.7241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E17A #7A81E8
analogous
#E8AA7A #E8E17A #B8E87A
triadic
#E8E17A #7AE8E1 #E17AE8
tetradic
#E8E17A #7AE8AA #7A81E8 #E87AB8
square
#E8E17A #7AE8AA #7A81E8 #E87AB8
split-complementary
#E8E17A #7AB8E8 #AA7AE8
monochromatic
#C5BB22 #DFD546 #E8E17A #F1EDAE #FAF9E2

Accessibility & contrast

On white

1.36
#E8E17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#E8E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E17A
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E17A#FFFFFF#000000##000000
##E8E17A1.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA71
Deuteranopia (green-blind)
#F3DF7F
Tritanopia (blue-blind)
#F6D5C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8e17a;
/* rgb */ color: rgb(232, 225, 122);
/* oklch */ color: oklch(89.4% 0.126 105.2);
Tailwind
colors: {
  custom: {
    50: '#f1eaa2',
    500: '#e8e17a',
    950: '#000000',
  },
}
SCSS
$custom: #e8e17a;
$custom-light: #f1eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e17a",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 56.182,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89403,
    "c": 0.12558,
    "h": 105.2
  },
  "luminance": 0.72411
}

Semantic roles & 50–950 ramp

primary
#E8E17A
secondary
#464EC0
accent
#1FD313
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E8E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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