#E2DF4D#E2DF4D

#E2DF4D is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.0% C 0.163 H 108.2°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E2DF4D
RGBrgb(226, 223, 77)
HSLhsl(59, 72%, 59%)
HSVhsv(59, 66%, 89%)
CMYKcmyk(0%, 1.3%, 65.9%, 11.4%)
CIE-LABlab(86.74, -16.11, 68.78)
CIE-LCHlch(86.74, 70.64, 103.18°)
OKLaboklab(88.02% -0.0507 0.1544)
OKLCHoklch(88.02% 0.163 108.2)
XYZxyz(59.0933, 69.4818, 17.3182)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF4D #4D50E2
analogous
#E2954D #E2DF4D #9BE24D
triadic
#E2DF4D #4DE2DF #DF4DE2
tetradic
#E2DF4D #4DE295 #4D50E2 #E24D9B
square
#E2DF4D #4DE295 #4D50E2 #E24D9B
split-complementary
#E2DF4D #4D9BE2 #954DE2
monochromatic
#9B9919 #D0CC22 #E2DF4D #EBE882 #F3F2B6

Accessibility & contrast

On white

1.41
#E2DF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E2DF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF4D
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF4D#FFFFFF#000000##000000
##E2DF4D1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D638
Deuteranopia (green-blind)
#F3DC57
Tritanopia (blue-blind)
#F2D1C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df4d;
/* rgb */ color: rgb(226, 223, 77);
/* oklch */ color: oklch(88.0% 0.163 108.2);
Tailwind
colors: {
  custom: {
    50: '#efe886',
    500: '#e2df4d',
    950: '#000000',
  },
}
SCSS
$custom: #e2df4d;
$custom-light: #efe886;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df4d",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 77
  },
  "hsl": {
    "h": 58.792,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.88016,
    "c": 0.16252,
    "h": 108.2
  },
  "luminance": 0.6948
}

Semantic roles & 50–950 ramp

primary
#E2DF4D
secondary
#34379F
accent
#3DEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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