#E9C852#E9C852

#E9C852 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 84.0% C 0.140 H 93.5°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#E9C852
RGBrgb(233, 200, 82)
HSLhsl(47, 77%, 62%)
HSVhsv(47, 65%, 91%)
CMYKcmyk(0%, 14.2%, 64.8%, 8.6%)
CIE-LABlab(81.43, -1.31, 61.39)
CIE-LCHlch(81.43, 61.41, 91.22°)
OKLaboklab(83.95% -0.0084 0.1394)
OKLCHoklch(83.95% 0.14 93.5)
XYZxyz(55.7842, 59.2444, 16.4780)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9C852 #5273E9
analogous
#E97C52 #E9C852 #BFE952
triadic
#E9C852 #52E9C8 #C852E9
tetradic
#E9C852 #52E97C #5273E9 #E952BF
square
#E9C852 #52E97C #5273E9 #E952BF
split-complementary
#E9C852 #52BFE9 #7C52E9
monochromatic
#AB8A16 #E1B61D #E9C852 #F0D988 #F7EBBF

Accessibility & contrast

On white

1.63
#E9C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#E9C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9C852
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9C852#FFFFFF#000000##000000
##E9C8521.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC544
Deuteranopia (green-blind)
#E4CF58
Tritanopia (blue-blind)
#FBB9AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e9c852;
/* rgb */ color: rgb(233, 200, 82);
/* oklch */ color: oklch(84.0% 0.140 93.5);
Tailwind
colors: {
  custom: {
    50: '#f4d888',
    500: '#e9c852',
    950: '#000000',
  },
}
SCSS
$custom: #e9c852;
$custom-light: #f4d888;
$custom-dark: #000000;
JSON
{
  "hex": "#e9c852",
  "rgb": {
    "r": 233,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 46.887,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83951,
    "c": 0.13963,
    "h": 93.5
  },
  "luminance": 0.59241
}

Semantic roles & 50–950 ramp

primary
#E9C852
secondary
#334EAC
accent
#39DA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9C852

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

Preview Lab → · Contrast checker → · Palette generator →

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