#E8DF4B#E8DF4B

#E8DF4B is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.163 H 105.9°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E8DF4B
RGBrgb(232, 223, 75)
HSLhsl(57, 77%, 60%)
HSVhsv(57, 68%, 91%)
CMYKcmyk(0%, 3.9%, 67.7%, 9%)
CIE-LABlab(87.21, -13.74, 70.17)
CIE-LCHlch(87.21, 71.50, 101.08°)
OKLaboklab(88.51% -0.0445 0.1569)
OKLCHoklch(88.51% 0.163 105.9)
XYZxyz(60.9387, 70.4413, 17.0418)
Luminance0.7044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF4B #4B54E8
analogous
#E8914B #E8DF4B #A2E84B
triadic
#E8DF4B #4BE8DF #DF4BE8
tetradic
#E8DF4B #4BE891 #4B54E8 #E84BA2
square
#E8DF4B #4BE891 #4B54E8 #E84BA2
split-complementary
#E8DF4B #4BA2E8 #914BE8
monochromatic
#A49C15 #DACF1C #E8DF4B #EFE981 #F6F2B8

Accessibility & contrast

On white

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

On black

15.09
#E8DF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF4B
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF4B#FFFFFF#000000##000000
##E8DF4B1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D735
Deuteranopia (green-blind)
#F5DD55
Tritanopia (blue-blind)
#F9D0C1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8df4b;
/* rgb */ color: rgb(232, 223, 75);
/* oklch */ color: oklch(88.5% 0.163 105.9);
Tailwind
colors: {
  custom: {
    50: '#f3e885',
    500: '#e8df4b',
    950: '#000000',
  },
}
SCSS
$custom: #e8df4b;
$custom-light: #f3e885;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df4b",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 75
  },
  "hsl": {
    "h": 56.561,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88505,
    "c": 0.16306,
    "h": 105.9
  },
  "luminance": 0.70439
}

Semantic roles & 50–950 ramp

primary
#E8DF4B
secondary
#3138A6
accent
#18DA0C
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8DF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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