#E1C157#E1C157

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

Color values

HEX#E1C157
RGBrgb(225, 193, 87)
HSLhsl(46, 70%, 61%)
HSVhsv(46, 61%, 88%)
CMYKcmyk(0%, 14.2%, 61.3%, 11.8%)
CIE-LABlab(78.95, -0.73, 56.29)
CIE-LCHlch(78.95, 56.29, 90.74°)
OKLaboklab(81.84% -0.0057 0.1294)
OKLCHoklch(81.84% 0.13 92.5)
XYZxyz(51.8440, 54.8383, 16.8691)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C157 #5777E1
analogous
#E17C57 #E1C157 #BCE157
triadic
#E1C157 #57E1C1 #C157E1
tetradic
#E1C157 #57E17C #5777E1 #E157BC
square
#E1C157 #57E17C #5777E1 #E157BC
split-complementary
#E1C157 #57BCE1 #7C57E1
monochromatic
#A1821D #D5AC26 #E1C157 #EAD48B #F4E7BF

Accessibility & contrast

On white

1.75
#E1C157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#E1C157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C157
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C157#FFFFFF#000000##000000
##E1C1571.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#F2B3AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e1c157;
/* rgb */ color: rgb(225, 193, 87);
/* oklch */ color: oklch(81.8% 0.130 92.5);
Tailwind
colors: {
  custom: {
    50: '#eed38a',
    500: '#e1c157',
    950: '#000000',
  },
}
SCSS
$custom: #e1c157;
$custom-light: #eed38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c157",
  "rgb": {
    "r": 225,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 46.087,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81835,
    "c": 0.12956,
    "h": 92.5
  },
  "luminance": 0.54836
}

Semantic roles & 50–950 ramp

primary
#E1C157
secondary
#3851A4
accent
#40D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C157

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

Preview Lab → · Contrast checker → · Palette generator →

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