#E2DF7B#E2DF7B

#E2DF7B is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.5% C 0.123 H 107.1°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#E2DF7B
RGBrgb(226, 223, 123)
HSLhsl(58, 64%, 68%)
HSVhsv(58, 46%, 89%)
CMYKcmyk(0%, 1.3%, 45.6%, 11.4%)
CIE-LABlab(87.18, -12.69, 49.09)
CIE-LCHlch(87.18, 50.70, 104.49°)
OKLaboklab(88.51% -0.0362 0.1174)
OKLCHoklch(88.51% 0.123 107.1)
XYZxyz(61.3281, 70.3757, 29.0883)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF7B #7B7EE2
analogous
#E2AB7B #E2DF7B #B1E27B
triadic
#E2DF7B #7BE2DF #DF7BE2
tetradic
#E2DF7B #7BE2AB #7B7EE2 #E27BB1
square
#E2DF7B #7BE2AB #7B7EE2 #E27BB1
split-complementary
#E2DF7B #7BB1E2 #AB7BE2
monochromatic
#BAB629 #D7D349 #E2DF7B #EDEBAD #F8F7DF

Accessibility & contrast

On white

1.39
#E2DF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#E2DF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF7B
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF7B#FFFFFF#000000##000000
##E2DF7B1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED873
Deuteranopia (green-blind)
#F0DC80
Tritanopia (blue-blind)
#EFD4C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df7b;
/* rgb */ color: rgb(226, 223, 123);
/* oklch */ color: oklch(88.5% 0.123 107.1);
Tailwind
colors: {
  custom: {
    50: '#ede8a3',
    500: '#e2df7b',
    950: '#000000',
  },
}
SCSS
$custom: #e2df7b;
$custom-light: #ede8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df7b",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 58.252,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88507,
    "c": 0.12286,
    "h": 107.1
  },
  "luminance": 0.70374
}

Semantic roles & 50–950 ramp

primary
#E2DF7B
secondary
#484BB9
accent
#1FCC1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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