#E2DF74#E2DF74

#E2DF74 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.130 H 107.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E2DF74
RGBrgb(226, 223, 116)
HSLhsl(58, 65%, 67%)
HSVhsv(58, 49%, 89%)
CMYKcmyk(0%, 1.3%, 48.7%, 11.4%)
CIE-LABlab(87.10, -13.32, 52.32)
CIE-LCHlch(87.10, 53.99, 104.29°)
OKLaboklab(88.42% -0.0387 0.124)
OKLCHoklch(88.42% 0.13 107.3)
XYZxyz(60.9055, 70.2066, 26.8625)
Luminance0.7020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF74 #7477E2
analogous
#E2A874 #E2DF74 #AEE274
triadic
#E2DF74 #74E2DF #DF74E2
tetradic
#E2DF74 #74E2A8 #7477E2 #E274AE
square
#E2DF74 #74E2A8 #7477E2 #E274AE
split-complementary
#E2DF74 #74AEE2 #A874E2
monochromatic
#B6B226 #D7D341 #E2DF74 #EDEBA7 #F7F6D9

Accessibility & contrast

On white

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

On black

15.04
#E2DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF74
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF74#FFFFFF#000000##000000
##E2DF741.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86A
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#EFD3C6
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df74;
/* rgb */ color: rgb(226, 223, 116);
/* oklch */ color: oklch(88.4% 0.130 107.3);
Tailwind
colors: {
  custom: {
    50: '#ede89e',
    500: '#e2df74',
    950: '#000000',
  },
}
SCSS
$custom: #e2df74;
$custom-light: #ede89e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df74",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 58.364,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88415,
    "c": 0.12986,
    "h": 107.3
  },
  "luminance": 0.70205
}

Semantic roles & 50–950 ramp

primary
#E2DF74
secondary
#4447B6
accent
#1DCD18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E2DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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