#E2DE3D#E2DE3D

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

Color values

HEX#E2DE3D
RGBrgb(226, 222, 61)
HSLhsl(59, 74%, 56%)
HSVhsv(59, 73%, 89%)
CMYKcmyk(0%, 1.8%, 73%, 11.4%)
CIE-LABlab(86.38, -16.39, 74.12)
CIE-LCHlch(86.38, 75.91, 102.47°)
OKLaboklab(87.7% -0.053 0.163)
OKLCHoklch(87.7% 0.171 108)
XYZxyz(58.3299, 68.7502, 14.6115)
Luminance0.6875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE3D #3D41E2
analogous
#E28C3D #E2DE3D #94E23D
triadic
#E2DE3D #3DE2DE #DE3DE2
tetradic
#E2DE3D #3DE28C #3D41E2 #E23D94
square
#E2DE3D #3DE28C #3D41E2 #E23D94
split-complementary
#E2DE3D #3D94E2 #8C3DE2
monochromatic
#8F8C15 #C4C01D #E2DE3D #EAE772 #F2F0A7

Accessibility & contrast

On white

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

On black

14.75
#E2DE3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE3D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE3D#FFFFFF#000000##000000
##E2DE3D1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D51B
Deuteranopia (green-blind)
#F3DB4A
Tritanopia (blue-blind)
#F2CFBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de3d;
/* rgb */ color: rgb(226, 222, 61);
/* oklch */ color: oklch(87.7% 0.171 108.0);
Tailwind
colors: {
  custom: {
    50: '#efe87e',
    500: '#e2de3d',
    950: '#000000',
  },
}
SCSS
$custom: #e2de3d;
$custom-light: #efe87e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de3d",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 61
  },
  "hsl": {
    "h": 58.545,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.87696,
    "c": 0.17142,
    "h": 108
  },
  "luminance": 0.68748
}

Semantic roles & 50–950 ramp

primary
#E2DE3D
secondary
#2F3294
accent
#3CF137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2DE3D

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

Preview Lab → · Contrast checker → · Palette generator →

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