#E2DD5E#E2DD5E

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

Color values

HEX#E2DD5E
RGBrgb(226, 221, 94)
HSLhsl(58, 69%, 63%)
HSVhsv(58, 58%, 89%)
CMYKcmyk(0%, 2.2%, 58.4%, 11.4%)
CIE-LABlab(86.35, -14.06, 61.42)
CIE-LCHlch(86.35, 63.01, 102.90°)
OKLaboklab(87.75% -0.0431 0.1413)
OKLCHoklch(87.75% 0.148 107)
XYZxyz(59.2427, 68.6916, 20.7256)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD5E #5E63E2
analogous
#E29B5E #E2DD5E #A5E25E
triadic
#E2DD5E #5EE2DD #DD5EE2
tetradic
#E2DD5E #5EE29B #5E63E2 #E25EA5
square
#E2DD5E #5EE29B #5E63E2 #E25EA5
split-complementary
#E2DD5E #5EA5E2 #9B5EE2
monochromatic
#A7A21E #D9D22A #E2DD5E #EBE892 #F5F3C6

Accessibility & contrast

On white

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

On black

14.74
#E2DD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD5E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD5E#FFFFFF#000000##000000
##E2DD5E1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED550
Deuteranopia (green-blind)
#F1DA65
Tritanopia (blue-blind)
#F1D0C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd5e;
/* rgb */ color: rgb(226, 221, 94);
/* oklch */ color: oklch(87.7% 0.148 107.0);
Tailwind
colors: {
  custom: {
    50: '#eee790',
    500: '#e2dd5e',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd5e;
$custom-light: #eee790;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd5e",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 94
  },
  "hsl": {
    "h": 57.727,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87748,
    "c": 0.1477,
    "h": 107
  },
  "luminance": 0.6869
}

Semantic roles & 50–950 ramp

primary
#E2DD5E
secondary
#3B3FAA
accent
#1BD114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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