#E2DF7C#E2DF7C

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

Color values

HEX#E2DF7C
RGBrgb(226, 223, 124)
HSLhsl(58, 64%, 69%)
HSVhsv(58, 45%, 89%)
CMYKcmyk(0%, 1.3%, 45.1%, 11.4%)
CIE-LABlab(87.19, -12.59, 48.62)
CIE-LCHlch(87.19, 50.23, 104.52°)
OKLaboklab(88.52% -0.0358 0.1164)
OKLCHoklch(88.52% 0.122 107.1)
XYZxyz(61.3911, 70.4009, 29.4197)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF7C #7C7FE2
analogous
#E2AC7C #E2DF7C #B2E27C
triadic
#E2DF7C #7CE2DF #DF7CE2
tetradic
#E2DF7C #7CE2AC #7C7FE2 #E27CB2
square
#E2DF7C #7CE2AC #7C7FE2 #E27CB2
split-complementary
#E2DF7C #7CB2E2 #AC7CE2
monochromatic
#BAB629 #D7D34A #E2DF7C #EDEBAE #F8F7E0

Accessibility & contrast

On white

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

On black

15.08
#E2DF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF7C
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF7C#FFFFFF#000000##000000
##E2DF7C1.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED874
Deuteranopia (green-blind)
#F0DC81
Tritanopia (blue-blind)
#EFD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2df7c;
/* rgb */ color: rgb(226, 223, 124);
/* oklch */ color: oklch(88.5% 0.122 107.1);
Tailwind
colors: {
  custom: {
    50: '#ede8a4',
    500: '#e2df7c',
    950: '#000000',
  },
}
SCSS
$custom: #e2df7c;
$custom-light: #ede8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df7c",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 58.235,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88521,
    "c": 0.12183,
    "h": 107.1
  },
  "luminance": 0.70399
}

Semantic roles & 50–950 ramp

primary
#E2DF7C
secondary
#494CB9
accent
#1FCC1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2DF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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