#E2DE2B#E2DE2B

#E2DE2B is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.6% C 0.180 H 108.2°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E2DE2B
RGBrgb(226, 222, 43)
HSLhsl(59, 76%, 53%)
HSVhsv(59, 81%, 89%)
CMYKcmyk(0%, 1.8%, 81%, 11.4%)
CIE-LABlab(86.30, -17.03, 79.25)
CIE-LCHlch(86.30, 81.06, 102.13°)
OKLaboklab(87.61% -0.0562 0.1708)
OKLCHoklch(87.61% 0.18 108.2)
XYZxyz(57.9237, 68.5877, 12.4726)
Luminance0.6859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE2B #2B2FE2
analogous
#E2832B #E2DE2B #8AE22B
triadic
#E2DE2B #2BE2DE #DE2BE2
tetradic
#E2DE2B #2BE283 #2B2FE2 #E22B8A
square
#E2DE2B #2BE283 #2B2FE2 #E22B8A
split-complementary
#E2DE2B #2B8AE2 #832BE2
monochromatic
#817F12 #B7B319 #E2DE2B #E9E661 #F1EF97

Accessibility & contrast

On white

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

On black

14.72
#E2DE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE2B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE2B#FFFFFF#000000##000000
##E2DE2B1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D500
Deuteranopia (green-blind)
#F4DB3C
Tritanopia (blue-blind)
#F3CFBE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de2b;
/* rgb */ color: rgb(226, 222, 43);
/* oklch */ color: oklch(87.6% 0.180 108.2);
Tailwind
colors: {
  custom: {
    50: '#f0e776',
    500: '#e2de2b',
    950: '#000000',
  },
}
SCSS
$custom: #e2de2b;
$custom-light: #f0e776;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de2b",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 43
  },
  "hsl": {
    "h": 58.689,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.87606,
    "c": 0.17981,
    "h": 108.2
  },
  "luminance": 0.68586
}

Semantic roles & 50–950 ramp

primary
#E2DE2B
secondary
#2A2C88
accent
#39F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2DE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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