#E2DD5C#E2DD5C

#E2DD5C is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.7% C 0.149 H 107.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E2DD5C
RGBrgb(226, 221, 92)
HSLhsl(58, 70%, 62%)
HSVhsv(58, 59%, 89%)
CMYKcmyk(0%, 2.2%, 59.3%, 11.4%)
CIE-LABlab(86.33, -14.20, 62.26)
CIE-LCHlch(86.33, 63.86, 102.85°)
OKLaboklab(87.73% -0.0437 0.1428)
OKLCHoklch(87.73% 0.149 107)
XYZxyz(59.1541, 68.6562, 20.2591)
Luminance0.6865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD5C #5C61E2
analogous
#E29A5C #E2DD5C #A4E25C
triadic
#E2DD5C #5CE2DD #DD5CE2
tetradic
#E2DD5C #5CE29A #5C61E2 #E25CA4
square
#E2DD5C #5CE29A #5C61E2 #E25CA4
split-complementary
#E2DD5C #5CA4E2 #9A5CE2
monochromatic
#A6A11E #D9D228 #E2DD5C #EBE890 #F4F3C4

Accessibility & contrast

On white

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

On black

14.73
#E2DD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD5C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD5C#FFFFFF#000000##000000
##E2DD5C1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54D
Deuteranopia (green-blind)
#F1DA63
Tritanopia (blue-blind)
#F1D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd5c;
/* rgb */ color: rgb(226, 221, 92);
/* oklch */ color: oklch(87.7% 0.149 107.0);
Tailwind
colors: {
  custom: {
    50: '#eee78f',
    500: '#e2dd5c',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd5c;
$custom-light: #eee78f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd5c",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 57.761,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87728,
    "c": 0.14934,
    "h": 107
  },
  "luminance": 0.68654
}

Semantic roles & 50–950 ramp

primary
#E2DD5C
secondary
#3A3EA8
accent
#1BD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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