#E8CD57#E8CD57

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

Color values

HEX#E8CD57
RGBrgb(232, 205, 87)
HSLhsl(49, 76%, 63%)
HSVhsv(49, 63%, 91%)
CMYKcmyk(0%, 11.6%, 62.5%, 9%)
CIE-LABlab(82.65, -3.99, 60.54)
CIE-LCHlch(82.65, 60.67, 93.77°)
OKLaboklab(84.91% -0.0155 0.1383)
OKLCHoklch(84.91% 0.139 96.4)
XYZxyz(56.8328, 61.5093, 17.8939)
Luminance0.6151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD57 #5772E8
analogous
#E88557 #E8CD57 #BAE857
triadic
#E8CD57 #57E8CD #CD57E8
tetradic
#E8CD57 #57E885 #5772E8 #E857BA
square
#E8CD57 #57E885 #5772E8 #E857BA
split-complementary
#E8CD57 #57BAE8 #8557E8
monochromatic
#AD9118 #E1BD21 #E8CD57 #EFDD8D #F7EDC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CD57#FFFFFF#000000##000000
##E8CD571.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)
#E0C94A
Deuteranopia (green-blind)
#E7D25D
Tritanopia (blue-blind)
#F9BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd57;
/* rgb */ color: rgb(232, 205, 87);
/* oklch */ color: oklch(84.9% 0.139 96.4);
Tailwind
colors: {
  custom: {
    50: '#f3db8b',
    500: '#e8cd57',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd57;
$custom-light: #f3db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd57",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 48.828,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84913,
    "c": 0.13918,
    "h": 96.4
  },
  "luminance": 0.61507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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