#E2DE4E#E2DE4E

#E2DE4E is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.161 H 107.7°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E2DE4E
RGBrgb(226, 222, 78)
HSLhsl(58, 72%, 60%)
HSVhsv(58, 65%, 89%)
CMYKcmyk(0%, 1.8%, 65.5%, 11.4%)
CIE-LABlab(86.49, -15.56, 68.13)
CIE-LCHlch(86.49, 69.89, 102.86°)
OKLaboklab(87.81% -0.049 0.1532)
OKLCHoklch(87.81% 0.161 107.7)
XYZxyz(58.8625, 68.9632, 17.4168)
Luminance0.6896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE4E #4E52E2
analogous
#E2944E #E2DE4E #9CE24E
triadic
#E2DE4E #4EE2DE #DE4EE2
tetradic
#E2DE4E #4EE294 #4E52E2 #E24E9C
square
#E2DE4E #4EE294 #4E52E2 #E24E9C
split-complementary
#E2DE4E #4E9CE2 #944EE2
monochromatic
#9C991A #D1CC22 #E2DE4E #EBE883 #F3F2B7

Accessibility & contrast

On white

1.42
#E2DE4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#E2DE4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE4E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE4E#FFFFFF#000000##000000
##E2DE4E1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63A
Deuteranopia (green-blind)
#F2DB57
Tritanopia (blue-blind)
#F2D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de4e;
/* rgb */ color: rgb(226, 222, 78);
/* oklch */ color: oklch(87.8% 0.161 107.7);
Tailwind
colors: {
  custom: {
    50: '#eee887',
    500: '#e2de4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2de4e;
$custom-light: #eee887;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de4e",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 78
  },
  "hsl": {
    "h": 58.378,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87814,
    "c": 0.16086,
    "h": 107.7
  },
  "luminance": 0.68961
}

Semantic roles & 50–950 ramp

primary
#E2DE4E
secondary
#35389F
accent
#3EEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DE4E

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

Preview Lab → · Contrast checker → · Palette generator →

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