#E8DF74#E8DF74

#E8DF74 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.9% C 0.129 H 104.4°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#E8DF74
RGBrgb(232, 223, 116)
HSLhsl(55, 72%, 68%)
HSVhsv(55, 50%, 91%)
CMYKcmyk(0%, 3.9%, 50%, 9%)
CIE-LABlab(87.58, -10.93, 53.01)
CIE-LCHlch(87.58, 54.12, 101.65°)
OKLaboklab(88.91% -0.0322 0.1254)
OKLCHoklch(88.91% 0.129 104.4)
XYZxyz(62.8205, 71.1940, 26.9523)
Luminance0.7119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF74 #747DE8
analogous
#E8A574 #E8DF74 #B7E874
triadic
#E8DF74 #74E8DF #DF74E8
tetradic
#E8DF74 #74E8A5 #747DE8 #E874B7
square
#E8DF74 #74E8A5 #747DE8 #E874B7
split-complementary
#E8DF74 #74B7E8 #A574E8
monochromatic
#C2B520 #DFD33F #E8DF74 #F1EBA9 #F9F7DD

Accessibility & contrast

On white

1.38
#E8DF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#E8DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF74
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF74#FFFFFF#000000##000000
##E8DF741.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86A
Deuteranopia (green-blind)
#F2DE79
Tritanopia (blue-blind)
#F6D3C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df74;
/* rgb */ color: rgb(232, 223, 116);
/* oklch */ color: oklch(88.9% 0.129 104.4);
Tailwind
colors: {
  custom: {
    50: '#f1e89e',
    500: '#e8df74',
    950: '#000000',
  },
}
SCSS
$custom: #e8df74;
$custom-light: #f1e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df74",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 55.345,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88914,
    "c": 0.12944,
    "h": 104.4
  },
  "luminance": 0.71192
}

Semantic roles & 50–950 ramp

primary
#E8DF74
secondary
#404AC0
accent
#21D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E8DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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