#E1C151#E1C151

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

Color values

HEX#E1C151
RGBrgb(225, 193, 81)
HSLhsl(47, 71%, 60%)
HSVhsv(47, 64%, 88%)
CMYKcmyk(0%, 14.2%, 64%, 11.8%)
CIE-LABlab(78.89, -1.11, 58.89)
CIE-LCHlch(78.89, 58.90, 91.08°)
OKLaboklab(81.77% -0.0075 0.1341)
OKLCHoklch(81.77% 0.134 93.2)
XYZxyz(51.6090, 54.7443, 15.6313)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C151 #5171E1
analogous
#E17951 #E1C151 #B9E151
triadic
#E1C151 #51E1C1 #C151E1
tetradic
#E1C151 #51E179 #5171E1 #E151B9
square
#E1C151 #51E179 #5171E1 #E151B9
split-complementary
#E1C151 #51B9E1 #7951E1
monochromatic
#9D801B #D1AA24 #E1C151 #EAD485 #F3E6B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1C151#FFFFFF#000000##000000
##E1C1511.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)
#D4BE44
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#F2B3A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c151;
/* rgb */ color: rgb(225, 193, 81);
/* oklch */ color: oklch(81.8% 0.134 93.2);
Tailwind
colors: {
  custom: {
    50: '#eed386',
    500: '#e1c151',
    950: '#000000',
  },
}
SCSS
$custom: #e1c151;
$custom-light: #eed386;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c151",
  "rgb": {
    "r": 225,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 46.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.81775,
    "c": 0.13435,
    "h": 93.2
  },
  "luminance": 0.54742
}

Semantic roles & 50–950 ramp

primary
#E1C151
secondary
#364EA0
accent
#62ED3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E1C151

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

Preview Lab → · Contrast checker → · Palette generator →

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