#E8DC6F#E8DC6F

#E8DC6F is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.2% C 0.131 H 103.0°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E8DC6F
RGBrgb(232, 220, 111)
HSLhsl(54, 72%, 67%)
HSVhsv(54, 52%, 91%)
CMYKcmyk(0%, 5.2%, 52.2%, 9%)
CIE-LABlab(86.75, -9.84, 54.36)
CIE-LCHlch(86.75, 55.25, 100.26°)
OKLaboklab(88.24% -0.0296 0.1279)
OKLCHoklch(88.24% 0.131 103)
XYZxyz(61.7430, 69.4920, 25.1968)
Luminance0.6949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC6F #6F7BE8
analogous
#E8A06F #E8DC6F #B7E86F
triadic
#E8DC6F #6FE8DC #DC6FE8
tetradic
#E8DC6F #6FE8A0 #6F7BE8 #E86FB7
square
#E8DC6F #6FE8A0 #6F7BE8 #E86FB7
split-complementary
#E8DC6F #6FB7E8 #A06FE8
monochromatic
#BEAE1E #E0CF3A #E8DC6F #F0E9A4 #F9F6D9

Accessibility & contrast

On white

1.41
#E8DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#E8DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC6F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC6F#FFFFFF#000000##000000
##E8DC6F1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD665
Deuteranopia (green-blind)
#F1DC74
Tritanopia (blue-blind)
#F7CFC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc6f;
/* rgb */ color: rgb(232, 220, 111);
/* oklch */ color: oklch(88.2% 0.131 103.0);
Tailwind
colors: {
  custom: {
    50: '#f2e69b',
    500: '#e8dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc6f;
$custom-light: #f2e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc6f",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 54.05,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88235,
    "c": 0.13125,
    "h": 103
  },
  "luminance": 0.6949
}

Semantic roles & 50–950 ramp

primary
#E8DC6F
secondary
#3E4BBD
accent
#24D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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