#E8DE5F#E8DE5F

#E8DE5F is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.147 H 104.8°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E8DE5F
RGBrgb(232, 222, 95)
HSLhsl(56, 75%, 64%)
HSVhsv(56, 59%, 91%)
CMYKcmyk(0%, 4.3%, 59.1%, 9%)
CIE-LABlab(87.11, -12.04, 61.96)
CIE-LCHlch(87.11, 63.12, 101.00°)
OKLaboklab(88.47% -0.0376 0.1424)
OKLCHoklch(88.47% 0.147 104.8)
XYZxyz(61.4676, 70.2267, 21.1415)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DE5F #5F69E8
analogous
#E89A5F #E8DE5F #AEE85F
triadic
#E8DE5F #5FE8DE #DE5FE8
tetradic
#E8DE5F #5FE89A #5F69E8 #E85FAE
square
#E8DE5F #5FE89A #5F69E8 #E85FAE
split-complementary
#E8DE5F #5FAEE8 #9A5FE8
monochromatic
#B3A81A #E0D329 #E8DE5F #F0E995 #F7F4CA

Accessibility & contrast

On white

1.40
#E8DE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#E8DE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DE5F
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DE5F#FFFFFF#000000##000000
##E8DE5F1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#F8D0C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8de5f;
/* rgb */ color: rgb(232, 222, 95);
/* oklch */ color: oklch(88.5% 0.147 104.8);
Tailwind
colors: {
  custom: {
    50: '#f2e891',
    500: '#e8de5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8de5f;
$custom-light: #f2e891;
$custom-dark: #000000;
JSON
{
  "hex": "#e8de5f",
  "rgb": {
    "r": 232,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 55.62,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88471,
    "c": 0.1473,
    "h": 104.8
  },
  "luminance": 0.70225
}

Semantic roles & 50–950 ramp

primary
#E8DE5F
secondary
#3841B3
accent
#1DD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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