#E1C152#E1C152

#E1C152 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.134 H 93.1°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#E1C152
RGBrgb(225, 193, 82)
HSLhsl(47, 70%, 60%)
HSVhsv(47, 64%, 88%)
CMYKcmyk(0%, 14.2%, 63.6%, 11.8%)
CIE-LABlab(78.90, -1.05, 58.46)
CIE-LCHlch(78.90, 58.47, 91.03°)
OKLaboklab(81.78% -0.0072 0.1334)
OKLCHoklch(81.78% 0.134 93.1)
XYZxyz(51.6467, 54.7594, 15.8303)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C152 #5272E1
analogous
#E17952 #E1C152 #BAE152
triadic
#E1C152 #52E1C1 #C152E1
tetradic
#E1C152 #52E179 #5272E1 #E152BA
square
#E1C152 #52E179 #5272E1 #E152BA
split-complementary
#E1C152 #52BAE1 #7952E1
monochromatic
#9D801B #D1AB24 #E1C152 #EAD486 #F3E6BA

Accessibility & contrast

On white

1.76
#E1C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#E1C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C152
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C152#FFFFFF#000000##000000
##E1C1521.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#F2B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c152;
/* rgb */ color: rgb(225, 193, 82);
/* oklch */ color: oklch(81.8% 0.134 93.1);
Tailwind
colors: {
  custom: {
    50: '#eed387',
    500: '#e1c152',
    950: '#000000',
  },
}
SCSS
$custom: #e1c152;
$custom-light: #eed387;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c152",
  "rgb": {
    "r": 225,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 46.573,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81784,
    "c": 0.13357,
    "h": 93.1
  },
  "luminance": 0.54757
}

Semantic roles & 50–950 ramp

primary
#E1C152
secondary
#374EA1
accent
#3ED213
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C152

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

Preview Lab → · Contrast checker → · Palette generator →

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