#E2DF7E#E2DF7E

#E2DF7E is a very light, moderate yellow. Relative luminance 0.705; OKLCH L 88.5% C 0.120 H 107.0°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E2DF7E
RGBrgb(226, 223, 126)
HSLhsl(58, 63%, 69%)
HSVhsv(58, 44%, 89%)
CMYKcmyk(0%, 1.3%, 44.2%, 11.4%)
CIE-LABlab(87.22, -12.40, 47.69)
CIE-LCHlch(87.22, 49.27, 104.57°)
OKLaboklab(88.55% -0.0351 0.1145)
OKLCHoklch(88.55% 0.12 107)
XYZxyz(61.5188, 70.4520, 30.0925)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF7E #7E81E2
analogous
#E2AD7E #E2DF7E #B3E27E
triadic
#E2DF7E #7EE2DF #DF7EE2
tetradic
#E2DF7E #7EE2AD #7E81E2 #E27EB3
square
#E2DF7E #7EE2AD #7E81E2 #E27EB3
split-complementary
#E2DF7E #7EB3E2 #AD7EE2
monochromatic
#BBB72A #D7D34C #E2DF7E #EDEBB0 #F8F8E2

Accessibility & contrast

On white

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

On black

15.09
#E2DF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF7E
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF7E#FFFFFF#000000##000000
##E2DF7E1.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df7e;
/* rgb */ color: rgb(226, 223, 126);
/* oklch */ color: oklch(88.5% 0.120 107.0);
Tailwind
colors: {
  custom: {
    50: '#ede8a5',
    500: '#e2df7e',
    950: '#000000',
  },
}
SCSS
$custom: #e2df7e;
$custom-light: #ede8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df7e",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 58.2,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88549,
    "c": 0.11976,
    "h": 107
  },
  "luminance": 0.7045
}

Semantic roles & 50–950 ramp

primary
#E2DF7E
secondary
#4B4EB9
accent
#20CB1A
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #E2DF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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