#E8CD56#E8CD56

#E8CD56 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.9% C 0.140 H 96.5°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#E8CD56
RGBrgb(232, 205, 86)
HSLhsl(49, 76%, 62%)
HSVhsv(49, 63%, 91%)
CMYKcmyk(0%, 11.6%, 62.9%, 9%)
CIE-LABlab(82.64, -4.05, 60.96)
CIE-LCHlch(82.64, 61.10, 93.80°)
OKLaboklab(84.9% -0.0158 0.1391)
OKLCHoklch(84.9% 0.14 96.5)
XYZxyz(56.7923, 61.4931, 17.6802)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD56 #5671E8
analogous
#E88456 #E8CD56 #BAE856
triadic
#E8CD56 #56E8CD #CD56E8
tetradic
#E8CD56 #56E884 #5671E8 #E856BA
square
#E8CD56 #56E884 #5671E8 #E856BA
split-complementary
#E8CD56 #56BAE8 #8456E8
monochromatic
#AC9117 #E1BD20 #E8CD56 #EFDD8C #F7EDC2

Accessibility & contrast

On white

1.58
#E8CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#E8CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD56
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD56#FFFFFF#000000##000000
##E8CD561.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C948
Deuteranopia (green-blind)
#E7D15C
Tritanopia (blue-blind)
#F9BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd56;
/* rgb */ color: rgb(232, 205, 86);
/* oklch */ color: oklch(84.9% 0.140 96.5);
Tailwind
colors: {
  custom: {
    50: '#f3db8a',
    500: '#e8cd56',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd56;
$custom-light: #f3db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd56",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 48.904,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84903,
    "c": 0.13997,
    "h": 96.5
  },
  "luminance": 0.6149
}

Semantic roles & 50–950 ramp

primary
#E8CD56
secondary
#354BAD
accent
#33D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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