#E8DF5F#E8DF5F

#E8DF5F is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.148 H 105.3°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#E8DF5F
RGBrgb(232, 223, 95)
HSLhsl(56, 75%, 64%)
HSVhsv(56, 59%, 91%)
CMYKcmyk(0%, 3.9%, 59.1%, 9%)
CIE-LABlab(87.37, -12.54, 62.25)
CIE-LCHlch(87.37, 63.50, 101.39°)
OKLaboklab(88.68% -0.039 0.143)
OKLCHoklch(88.68% 0.148 105.3)
XYZxyz(61.7340, 70.7595, 21.2303)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF5F #5F68E8
analogous
#E89B5F #E8DF5F #ADE85F
triadic
#E8DF5F #5FE8DF #DF5FE8
tetradic
#E8DF5F #5FE89B #5F68E8 #E85FAD
square
#E8DF5F #5FE89B #5F68E8 #E85FAD
split-complementary
#E8DF5F #5FADE8 #9B5FE8
monochromatic
#B3A91A #E0D429 #E8DF5F #F0EA95 #F7F4CA

Accessibility & contrast

On white

1.39
#E8DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#E8DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF5F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF5F#FFFFFF#000000##000000
##E8DF5F1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D851
Deuteranopia (green-blind)
#F4DE66
Tritanopia (blue-blind)
#F8D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df5f;
/* rgb */ color: rgb(232, 223, 95);
/* oklch */ color: oklch(88.7% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#f2e891',
    500: '#e8df5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8df5f;
$custom-light: #f2e891;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df5f",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 56.058,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88678,
    "c": 0.14826,
    "h": 105.3
  },
  "luminance": 0.70757
}

Semantic roles & 50–950 ramp

primary
#E8DF5F
secondary
#3840B3
accent
#1CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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