#E8E95B#E8E95B

#E8E95B is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 90.7% C 0.161 H 109.6°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#E8E95B
RGBrgb(232, 233, 91)
HSLhsl(60, 76%, 64%)
HSVhsv(60, 61%, 91%)
CMYKcmyk(0.4%, 0%, 60.9%, 8.6%)
CIE-LABlab(89.95, -17.72, 66.72)
CIE-LCHlch(89.95, 69.04, 104.88°)
OKLaboklab(90.72% -0.0541 0.152)
OKLCHoklch(90.72% 0.161 109.6)
XYZxyz(64.3079, 76.1907, 21.2142)
Luminance0.7619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E95B #5C5BE9
analogous
#E9A35B #E8E95B #A1E95B
triadic
#E8E95B #5BE8E9 #E95BE8
tetradic
#E8E95B #5BE9A3 #5C5BE9 #E95BA1
square
#E8E95B #5BE9A3 #5C5BE9 #E95BA1
split-complementary
#E8E95B #5BA1E9 #A35BE9
monochromatic
#B1B218 #E0E225 #E8E95B #F0F091 #F7F7C7

Accessibility & contrast

On white

1.29
#E8E95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#E8E95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E95B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E95B#FFFFFF#000000##000000
##E8E95B1.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE04A
Deuteranopia (green-blind)
#FCE464
Tritanopia (blue-blind)
#F7DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e95b;
/* rgb */ color: rgb(232, 233, 91);
/* oklch */ color: oklch(90.7% 0.161 109.6);
Tailwind
colors: {
  custom: {
    50: '#f2ef8f',
    500: '#e8e95b',
    950: '#000000',
  },
}
SCSS
$custom: #e8e95b;
$custom-light: #f2ef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e95b",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 91
  },
  "hsl": {
    "h": 60.423,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90723,
    "c": 0.16135,
    "h": 109.6
  },
  "luminance": 0.76189
}

Semantic roles & 50–950 ramp

primary
#E8E95B
secondary
#3736B2
accent
#0DD90E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8E95B

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

Preview Lab → · Contrast checker → · Palette generator →

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