#E8DF7E#E8DF7E

#E8DF7E is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 89.0% C 0.119 H 103.9°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#E8DF7E
RGBrgb(232, 223, 126)
HSLhsl(55, 70%, 70%)
HSVhsv(55, 46%, 91%)
CMYKcmyk(0%, 3.9%, 45.7%, 9%)
CIE-LABlab(87.70, -10.03, 48.38)
CIE-LCHlch(87.70, 49.41, 101.71°)
OKLaboklab(89.05% -0.0286 0.116)
OKLCHoklch(89.05% 0.119 103.9)
XYZxyz(63.4338, 71.4393, 30.1823)
Luminance0.7144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF7E #7E87E8
analogous
#E8AA7E #E8DF7E #BCE87E
triadic
#E8DF7E #7EE8DF #DF7EE8
tetradic
#E8DF7E #7EE8AA #7E87E8 #E87EBC
square
#E8DF7E #7EE8AA #7E87E8 #E87EBC
split-complementary
#E8DF7E #7EBCE8 #AA7EE8
monochromatic
#C8BA24 #DFD24A #E8DF7E #F1ECB2 #FAF9E5

Accessibility & contrast

On white

1.37
#E8DF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#E8DF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF7E
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF7E#FFFFFF#000000##000000
##E8DF7E1.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED976
Deuteranopia (green-blind)
#F2DE82
Tritanopia (blue-blind)
#F6D3C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8df7e;
/* rgb */ color: rgb(232, 223, 126);
/* oklch */ color: oklch(89.0% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#f1e8a5',
    500: '#e8df7e',
    950: '#000000',
  },
}
SCSS
$custom: #e8df7e;
$custom-light: #f1e8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df7e",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 54.906,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89047,
    "c": 0.11946,
    "h": 103.9
  },
  "luminance": 0.71438
}

Semantic roles & 50–950 ramp

primary
#E8DF7E
secondary
#4A54C1
accent
#24D214
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E8DF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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