#E1C052#E1C052

#E1C052 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.6% C 0.133 H 92.5°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#E1C052
RGBrgb(225, 192, 82)
HSLhsl(46, 70%, 60%)
HSVhsv(46, 64%, 88%)
CMYKcmyk(0%, 14.7%, 63.6%, 11.8%)
CIE-LABlab(78.65, -0.53, 58.18)
CIE-LCHlch(78.65, 58.18, 90.52°)
OKLaboklab(81.58% -0.0057 0.1328)
OKLCHoklch(81.58% 0.133 92.5)
XYZxyz(51.4264, 54.3188, 15.7568)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C052 #5273E1
analogous
#E17952 #E1C052 #BAE152
triadic
#E1C052 #52E1C0 #C052E1
tetradic
#E1C052 #52E179 #5273E1 #E152BA
square
#E1C052 #52E179 #5273E1 #E152BA
split-complementary
#E1C052 #52BAE1 #7952E1
monochromatic
#9D7F1B #D1AA24 #E1C052 #EAD386 #F3E6BA

Accessibility & contrast

On white

1.77
#E1C052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#E1C052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C052
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C052#FFFFFF#000000##000000
##E1C0521.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD46
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#F2B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c052;
/* rgb */ color: rgb(225, 192, 82);
/* oklch */ color: oklch(81.6% 0.133 92.5);
Tailwind
colors: {
  custom: {
    50: '#eed287',
    500: '#e1c052',
    950: '#000000',
  },
}
SCSS
$custom: #e1c052;
$custom-light: #eed287;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c052",
  "rgb": {
    "r": 225,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 46.154,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81583,
    "c": 0.13291,
    "h": 92.5
  },
  "luminance": 0.54316
}

Semantic roles & 50–950 ramp

primary
#E1C052
secondary
#374FA1
accent
#3FD213
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C052

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

Preview Lab → · Contrast checker → · Palette generator →

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