#E8E397#E8E397

#E8E397 is a very light, moderate yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.096 H 104.9°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#E8E397
RGBrgb(232, 227, 151)
HSLhsl(56, 64%, 75%)
HSVhsv(56, 35%, 91%)
CMYKcmyk(0%, 2.2%, 34.9%, 9%)
CIE-LABlab(89.08, -9.41, 37.78)
CIE-LCHlch(89.08, 38.94, 103.99°)
OKLaboklab(90.26% -0.0249 0.0932)
OKLCHoklch(90.26% 0.096 104.9)
XYZxyz(66.3345, 74.3298, 40.1249)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E397 #979CE8
analogous
#E8BA97 #E8E397 #C5E897
triadic
#E8E397 #97E8E3 #E397E8
tetradic
#E8E397 #97E8BA #979CE8 #E897C5
square
#E8E397 #97E8BA #979CE8 #E897C5
split-complementary
#E8E397 #97C5E8 #BA97E8
monochromatic
#D2C833 #DDD665 #E8E397 #F3F0C9 #F9F8E6

Accessibility & contrast

On white

1.32
#E8E397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#E8E397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E397
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E397#FFFFFF#000000##000000
##E8E3971.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE92
Deuteranopia (green-blind)
#F2E29A
Tritanopia (blue-blind)
#F3D9D0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e8e397;
/* rgb */ color: rgb(232, 227, 151);
/* oklch */ color: oklch(90.3% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#f0ebb6',
    500: '#e8e397',
    950: '#000000',
  },
}
SCSS
$custom: #e8e397;
$custom-light: #f0ebb6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e397",
  "rgb": {
    "r": 232,
    "g": 227,
    "b": 151
  },
  "hsl": {
    "h": 56.296,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.90255,
    "c": 0.09647,
    "h": 104.9
  },
  "luminance": 0.74328
}

Semantic roles & 50–950 ramp

primary
#E8E397
secondary
#6167C2
accent
#25CC1A
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #E8E397

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

Preview Lab → · Contrast checker → · Palette generator →

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