#E8E87F#E8E87F

#E8E87F is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.9% C 0.128 H 108.7°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#E8E87F
RGBrgb(232, 232, 127)
HSLhsl(60, 70%, 70%)
HSVhsv(60, 45%, 91%)
CMYKcmyk(0%, 0%, 45.3%, 9%)
CIE-LABlab(90.05, -14.40, 50.78)
CIE-LCHlch(90.05, 52.78, 105.84°)
OKLaboklab(90.92% -0.0411 0.1214)
OKLCHoklch(90.92% 0.128 108.7)
XYZxyz(65.9674, 76.4028, 31.3468)
Luminance0.7640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E87F #7F7FE8
analogous
#E8B37F #E8E87F #B3E87F
triadic
#E8E87F #7FE8E8 #E87FE8
tetradic
#E8E87F #7FE8B3 #7F7FE8 #E87FB3
square
#E8E87F #7FE8B3 #7F7FE8 #E87FB3
split-complementary
#E8E87F #7FB3E8 #B37FE8
monochromatic
#C9C924 #DFDF4B #E8E87F #F1F1B3 #FAFAE5

Accessibility & contrast

On white

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

On black

16.28
#E8E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E87F
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E87F#FFFFFF#000000##000000
##E8E87F1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#F8E484
Tritanopia (blue-blind)
#F5DCCF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e87f;
/* rgb */ color: rgb(232, 232, 127);
/* oklch */ color: oklch(90.9% 0.128 108.7);
Tailwind
colors: {
  custom: {
    50: '#f1efa6',
    500: '#e8e87f',
    950: '#000000',
  },
}
SCSS
$custom: #e8e87f;
$custom-light: #f1efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e87f",
  "rgb": {
    "r": 232,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90917,
    "c": 0.12811,
    "h": 108.7
  },
  "luminance": 0.76401
}

Semantic roles & 50–950 ramp

primary
#E8E87F
secondary
#4B4BC1
accent
#14D214
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E8E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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