#E9CD52#E9CD52

#E9CD52 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 85.0% C 0.143 H 96.3°. Best body text is #000000 at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#E9CD52
RGBrgb(233, 205, 82)
HSLhsl(49, 77%, 62%)
HSVhsv(49, 65%, 91%)
CMYKcmyk(0%, 12%, 64.8%, 8.6%)
CIE-LABlab(82.70, -3.88, 62.75)
CIE-LCHlch(82.70, 62.87, 93.54°)
OKLaboklab(84.96% -0.0158 0.1423)
OKLCHoklch(84.96% 0.143 96.3)
XYZxyz(56.9612, 61.5983, 16.8703)
Luminance0.6159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CD52 #526EE9
analogous
#E98252 #E9CD52 #BAE952
triadic
#E9CD52 #52E9CD #CD52E9
tetradic
#E9CD52 #52E982 #526EE9 #E952BA
square
#E9CD52 #52E982 #526EE9 #E952BA
split-complementary
#E9CD52 #52BAE9 #8252E9
monochromatic
#AB8F16 #E1BD1D #E9CD52 #F0DD88 #F7ECBF

Accessibility & contrast

On white

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

On black

13.32
#E9CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CD52
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CD52#FFFFFF#000000##000000
##E9CD521.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#FBBEB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e9cd52;
/* rgb */ color: rgb(233, 205, 82);
/* oklch */ color: oklch(85.0% 0.143 96.3);
Tailwind
colors: {
  custom: {
    50: '#f4db88',
    500: '#e9cd52',
    950: '#000000',
  },
}
SCSS
$custom: #e9cd52;
$custom-light: #f4db88;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cd52",
  "rgb": {
    "r": 233,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 48.874,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84958,
    "c": 0.14313,
    "h": 96.3
  },
  "luminance": 0.61595
}

Semantic roles & 50–950 ramp

primary
#E9CD52
secondary
#334AAC
accent
#32DA0C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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