#E1C951#E1C951

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

Color values

HEX#E1C951
RGBrgb(225, 201, 81)
HSLhsl(50, 71%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 10.7%, 64%, 11.8%)
CIE-LABlab(80.95, -5.24, 61.09)
CIE-LCHlch(80.95, 61.32, 94.90°)
OKLaboklab(83.4% -0.0193 0.1388)
OKLCHoklch(83.4% 0.14 97.9)
XYZxyz(53.4255, 58.3774, 16.2368)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C951 #5169E1
analogous
#E18151 #E1C951 #B1E151
triadic
#E1C951 #51E1C9 #C951E1
tetradic
#E1C951 #51E181 #5169E1 #E151B1
square
#E1C951 #51E181 #5169E1 #E151B1
split-complementary
#E1C951 #51B1E1 #8151E1
monochromatic
#9D871B #D1B424 #E1C951 #EAD985 #F3E9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1C951#FFFFFF#000000##000000
##E1C9511.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)
#DCC443
Deuteranopia (green-blind)
#E2CD57
Tritanopia (blue-blind)
#F2BBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e1c951;
/* rgb */ color: rgb(225, 201, 81);
/* oklch */ color: oklch(83.4% 0.140 97.9);
Tailwind
colors: {
  custom: {
    50: '#eed987',
    500: '#e1c951',
    950: '#000000',
  },
}
SCSS
$custom: #e1c951;
$custom-light: #eed987;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c951",
  "rgb": {
    "r": 225,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 50,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.834,
    "c": 0.14016,
    "h": 97.9
  },
  "luminance": 0.58375
}

Semantic roles & 50–950 ramp

primary
#E1C951
secondary
#3648A0
accent
#58ED3A
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C951

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

Preview Lab → · Contrast checker → · Palette generator →

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