#E8DF6B#E8DF6B

#E8DF6B is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.8% C 0.138 H 104.8°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#E8DF6B
RGBrgb(232, 223, 107)
HSLhsl(56, 73%, 66%)
HSVhsv(56, 54%, 91%)
CMYKcmyk(0%, 3.9%, 53.9%, 9%)
CIE-LABlab(87.48, -11.66, 57.06)
CIE-LCHlch(87.48, 58.24, 101.55°)
OKLaboklab(88.81% -0.0352 0.1333)
OKLCHoklch(88.81% 0.138 104.8)
XYZxyz(62.3221, 70.9947, 24.3275)
Luminance0.7099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF6B #6B74E8
analogous
#E8A16B #E8DF6B #B3E86B
triadic
#E8DF6B #6BE8DF #DF6BE8
tetradic
#E8DF6B #6BE8A1 #6B74E8 #E86BB3
square
#E8DF6B #6BE8A1 #6B74E8 #E86BB3
split-complementary
#E8DF6B #6BB3E8 #A16BE8
monochromatic
#BBB01D #E0D436 #E8DF6B #F0EAA0 #F8F6D5

Accessibility & contrast

On white

1.38
#E8DF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#E8DF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF6B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF6B#FFFFFF#000000##000000
##E8DF6B1.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D860
Deuteranopia (green-blind)
#F3DE71
Tritanopia (blue-blind)
#F7D2C5
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df6b;
/* rgb */ color: rgb(232, 223, 107);
/* oklch */ color: oklch(88.8% 0.138 104.8);
Tailwind
colors: {
  custom: {
    50: '#f2e899',
    500: '#e8df6b',
    950: '#000000',
  },
}
SCSS
$custom: #e8df6b;
$custom-light: #f2e899;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df6b",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 55.68,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88806,
    "c": 0.13789,
    "h": 104.8
  },
  "luminance": 0.70993
}

Semantic roles & 50–950 ramp

primary
#E8DF6B
secondary
#3C45BB
accent
#1ED510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E8DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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