#E8CD4D#E8CD4D

#E8CD4D is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.8% C 0.147 H 97.2°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E8CD4D
RGBrgb(232, 205, 77)
HSLhsl(50, 77%, 61%)
HSVhsv(50, 67%, 91%)
CMYKcmyk(0%, 11.6%, 66.8%, 9%)
CIE-LABlab(82.57, -4.58, 64.65)
CIE-LCHlch(82.57, 64.81, 94.05°)
OKLaboklab(84.82% -0.0183 0.1455)
OKLCHoklch(84.82% 0.147 97.2)
XYZxyz(56.4522, 61.3570, 15.8893)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD4D #4D68E8
analogous
#E87F4D #E8CD4D #B6E84D
triadic
#E8CD4D #4DE8CD #CD4DE8
tetradic
#E8CD4D #4DE87F #4D68E8 #E84DB6
square
#E8CD4D #4DE87F #4D68E8 #E84DB6
split-complementary
#E8CD4D #4DB6E8 #7F4DE8
monochromatic
#A58C15 #DBBA1C #E8CD4D #EFDC83 #F6EBB9

Accessibility & contrast

On white

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

On black

13.27
#E8CD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CD4D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CD4D#FFFFFF#000000##000000
##E8CD4D1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C83C
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#FABEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cd4d;
/* rgb */ color: rgb(232, 205, 77);
/* oklch */ color: oklch(84.8% 0.147 97.2);
Tailwind
colors: {
  custom: {
    50: '#f3db85',
    500: '#e8cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd4d;
$custom-light: #f3db85;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd4d",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 49.548,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84822,
    "c": 0.14668,
    "h": 97.2
  },
  "luminance": 0.61354
}

Semantic roles & 50–950 ramp

primary
#E8CD4D
secondary
#3246A7
accent
#30D90C
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E8CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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