#E8EA97#E8EA97

#E8EA97 is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.105 H 109.5°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#E8EA97
RGBrgb(232, 234, 151)
HSLhsl(61, 66%, 75%)
HSVhsv(61, 35%, 92%)
CMYKcmyk(0.9%, 0%, 35.5%, 8.2%)
CIE-LABlab(90.89, -12.90, 40.13)
CIE-LCHlch(90.89, 42.15, 107.82°)
OKLaboklab(91.69% -0.0349 0.0986)
OKLCHoklch(91.69% 0.105 109.5)
XYZxyz(68.2881, 78.2370, 40.7761)
Luminance0.7824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EA97 #9997EA
analogous
#EAC297 #E8EA97 #BEEA97
triadic
#E8EA97 #97E8EA #EA97E8
tetradic
#E8EA97 #97EAC2 #9997EA #EA97BE
square
#E8EA97 #97EAC2 #9997EA #EA97BE
split-complementary
#E8EA97 #97BEEA #C297EA
monochromatic
#D1D531 #DDE064 #E8EA97 #F3F4CA #F9FAE6

Accessibility & contrast

On white

1.26
#E8EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#E8EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8EA97
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8EA97#FFFFFF#000000##000000
##E8EA971.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F7E69B
Tritanopia (blue-blind)
#F3E0D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e8ea97;
/* rgb */ color: rgb(232, 234, 151);
/* oklch */ color: oklch(91.7% 0.105 109.5);
Tailwind
colors: {
  custom: {
    50: '#f0f0b6',
    500: '#e8ea97',
    950: '#000000',
  },
}
SCSS
$custom: #e8ea97;
$custom-light: #f0f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ea97",
  "rgb": {
    "r": 232,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 61.446,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91692,
    "c": 0.10463,
    "h": 109.5
  },
  "luminance": 0.78236
}

Semantic roles & 50–950 ramp

primary
#E8EA97
secondary
#6360C5
accent
#17CE1C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #E8EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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