#E8DC6C#E8DC6C

#E8DC6C is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.134 H 103.2°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#E8DC6C
RGBrgb(232, 220, 108)
HSLhsl(54, 73%, 67%)
HSVhsv(54, 53%, 91%)
CMYKcmyk(0%, 5.2%, 53.4%, 9%)
CIE-LABlab(86.72, -10.09, 55.71)
CIE-LCHlch(86.72, 56.62, 100.26°)
OKLaboklab(88.2% -0.0306 0.1305)
OKLCHoklch(88.2% 0.134 103.2)
XYZxyz(61.5806, 69.4270, 24.3414)
Luminance0.6943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC6C #6C78E8
analogous
#E89E6C #E8DC6C #B6E86C
triadic
#E8DC6C #6CE8DC #DC6CE8
tetradic
#E8DC6C #6CE89E #6C78E8 #E86CB6
square
#E8DC6C #6CE89E #6C78E8 #E86CB6
split-complementary
#E8DC6C #6CB6E8 #9E6CE8
monochromatic
#BCAD1D #E0CF37 #E8DC6C #F0E9A1 #F9F5D6

Accessibility & contrast

On white

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

On black

14.89
#E8DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC6C
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC6C#FFFFFF#000000##000000
##E8DC6C1.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8dc6c;
/* rgb */ color: rgb(232, 220, 108);
/* oklch */ color: oklch(88.2% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#f2e699',
    500: '#e8dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc6c;
$custom-light: #f2e699;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc6c",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 54.194,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88199,
    "c": 0.13404,
    "h": 103.2
  },
  "luminance": 0.69425
}

Semantic roles & 50–950 ramp

primary
#E8DC6C
secondary
#3D49BB
accent
#23D510
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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