#E8CD6B#E8CD6B

#E8CD6B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.1% C 0.122 H 94.2°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E8CD6B
RGBrgb(232, 205, 107)
HSLhsl(47, 73%, 66%)
HSVhsv(47, 54%, 91%)
CMYKcmyk(0%, 11.6%, 53.9%, 9%)
CIE-LABlab(82.85, -2.55, 51.65)
CIE-LCHlch(82.85, 51.72, 92.83°)
OKLaboklab(85.13% -0.009 0.1216)
OKLCHoklch(85.13% 0.122 94.2)
XYZxyz(57.7660, 61.8826, 22.8088)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD6B #6B86E8
analogous
#E88F6B #E8CD6B #C5E86B
triadic
#E8CD6B #6BE8CD #CD6BE8
tetradic
#E8CD6B #6BE88F #6B86E8 #E86BC5
square
#E8CD6B #6BE88F #6B86E8 #E86BC5
split-complementary
#E8CD6B #6BC5E8 #8F6BE8
monochromatic
#BB991D #E0BB36 #E8CD6B #F0DFA0 #F8F1D5

Accessibility & contrast

On white

1.57
#E8CD6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#E8CD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD6B
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD6B#FFFFFF#000000##000000
##E8CD6B1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC962
Deuteranopia (green-blind)
#E6D26F
Tritanopia (blue-blind)
#F8C0B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd6b;
/* rgb */ color: rgb(232, 205, 107);
/* oklch */ color: oklch(85.1% 0.122 94.2);
Tailwind
colors: {
  custom: {
    50: '#f2dc98',
    500: '#e8cd6b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd6b;
$custom-light: #f2dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd6b",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 107
  },
  "hsl": {
    "h": 47.04,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85134,
    "c": 0.12192,
    "h": 94.2
  },
  "luminance": 0.6188
}

Semantic roles & 50–950 ramp

primary
#E8CD6B
secondary
#3C58BB
accent
#3BD510
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8CD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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