#E8E959#E8E959

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

Color values

HEX#E8E959
RGBrgb(232, 233, 89)
HSLhsl(60, 77%, 63%)
HSVhsv(60, 62%, 91%)
CMYKcmyk(0.4%, 0%, 61.8%, 8.6%)
CIE-LABlab(89.93, -17.85, 67.52)
CIE-LCHlch(89.93, 69.84, 104.81°)
OKLaboklab(90.71% -0.0547 0.1534)
OKLCHoklch(90.71% 0.163 109.6)
XYZxyz(64.2228, 76.1566, 20.7659)
Luminance0.7615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E959 #5A59E9
analogous
#E9A259 #E8E959 #A0E959
triadic
#E8E959 #59E8E9 #E959E8
tetradic
#E8E959 #59E9A2 #5A59E9 #E959A0
square
#E8E959 #59E9A2 #5A59E9 #E959A0
split-complementary
#E8E959 #59A0E9 #A259E9
monochromatic
#AFB017 #E1E223 #E8E959 #EFF08F #F7F7C5

Accessibility & contrast

On white

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

On black

16.23
#E8E959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E959
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E959#FFFFFF#000000##000000
##E8E9591.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8e959;
/* rgb */ color: rgb(232, 233, 89);
/* oklch */ color: oklch(90.7% 0.163 109.6);
Tailwind
colors: {
  custom: {
    50: '#f2ef8e',
    500: '#e8e959',
    950: '#000000',
  },
}
SCSS
$custom: #e8e959;
$custom-light: #f2ef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e959",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 89
  },
  "hsl": {
    "h": 60.417,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.90705,
    "c": 0.16286,
    "h": 109.6
  },
  "luminance": 0.76155
}

Semantic roles & 50–950 ramp

primary
#E8E959
secondary
#3635B1
accent
#0DD90E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8E959

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

Preview Lab → · Contrast checker → · Palette generator →

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