#E2DD4D#E2DD4D

#E2DD4D is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.6% C 0.161 H 107.4°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#E2DD4D
RGBrgb(226, 221, 77)
HSLhsl(58, 72%, 59%)
HSVhsv(58, 66%, 89%)
CMYKcmyk(0%, 2.2%, 65.9%, 11.4%)
CIE-LABlab(86.22, -15.12, 68.24)
CIE-LCHlch(86.22, 69.90, 102.49°)
OKLaboklab(87.6% -0.0479 0.1533)
OKLCHoklch(87.6% 0.161 107.4)
XYZxyz(58.5621, 68.4194, 17.1412)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD4D #4D52E2
analogous
#E2934D #E2DD4D #9CE24D
triadic
#E2DD4D #4DE2DD #DD4DE2
tetradic
#E2DD4D #4DE293 #4D52E2 #E24D9C
square
#E2DD4D #4DE293 #4D52E2 #E24D9C
split-complementary
#E2DD4D #4D9CE2 #934DE2
monochromatic
#9B9719 #D0CA22 #E2DD4D #EBE782 #F3F1B6

Accessibility & contrast

On white

1.43
#E2DD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#E2DD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD4D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD4D#FFFFFF#000000##000000
##E2DD4D1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD539
Deuteranopia (green-blind)
#F2DA56
Tritanopia (blue-blind)
#F2CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd4d;
/* rgb */ color: rgb(226, 221, 77);
/* oklch */ color: oklch(87.6% 0.161 107.4);
Tailwind
colors: {
  custom: {
    50: '#efe786',
    500: '#e2dd4d',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd4d;
$custom-light: #efe786;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd4d",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 77
  },
  "hsl": {
    "h": 57.987,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87597,
    "c": 0.1606,
    "h": 107.4
  },
  "luminance": 0.68417
}

Semantic roles & 50–950 ramp

primary
#E2DD4D
secondary
#34389F
accent
#3FEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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