#E1C952#E1C952

#E1C952 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.139 H 97.9°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#E1C952
RGBrgb(225, 201, 82)
HSLhsl(50, 70%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 10.7%, 63.6%, 11.8%)
CIE-LABlab(80.96, -5.18, 60.68)
CIE-LCHlch(80.96, 60.90, 94.88°)
OKLaboklab(83.41% -0.019 0.1381)
OKLCHoklch(83.41% 0.139 97.9)
XYZxyz(53.4633, 58.3925, 16.4358)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C952 #526AE1
analogous
#E18152 #E1C952 #B1E152
triadic
#E1C952 #52E1C9 #C952E1
tetradic
#E1C952 #52E181 #526AE1 #E152B1
square
#E1C952 #52E181 #526AE1 #E152B1
split-complementary
#E1C952 #52B1E1 #8152E1
monochromatic
#9D871B #D1B424 #E1C952 #EAD986 #F3EABA

Accessibility & contrast

On white

1.66
#E1C952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#E1C952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C952
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C952#FFFFFF#000000##000000
##E1C9521.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC444
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#F2BBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e1c952;
/* rgb */ color: rgb(225, 201, 82);
/* oklch */ color: oklch(83.4% 0.139 97.9);
Tailwind
colors: {
  custom: {
    50: '#eed988',
    500: '#e1c952',
    950: '#000000',
  },
}
SCSS
$custom: #e1c952;
$custom-light: #eed988;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c952",
  "rgb": {
    "r": 225,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 49.93,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83409,
    "c": 0.1394,
    "h": 97.9
  },
  "luminance": 0.5839
}

Semantic roles & 50–950 ramp

primary
#E1C952
secondary
#3748A1
accent
#33D213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C952

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

Preview Lab → · Contrast checker → · Palette generator →

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