#E1C851#E1C851

#E1C851 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.139 H 97.4°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#E1C851
RGBrgb(225, 200, 81)
HSLhsl(50, 71%, 60%)
HSVhsv(50, 64%, 88%)
CMYKcmyk(0%, 11.1%, 64%, 11.8%)
CIE-LABlab(80.69, -4.73, 60.82)
CIE-LCHlch(80.69, 61.00, 94.44°)
OKLaboklab(83.2% -0.0179 0.1382)
OKLCHoklch(83.2% 0.139 97.4)
XYZxyz(53.1932, 57.9127, 16.1594)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C851 #516AE1
analogous
#E18051 #E1C851 #B2E151
triadic
#E1C851 #51E1C8 #C851E1
tetradic
#E1C851 #51E180 #516AE1 #E151B2
square
#E1C851 #51E180 #516AE1 #E151B2
split-complementary
#E1C851 #51B2E1 #8051E1
monochromatic
#9D861B #D1B324 #E1C851 #EAD885 #F3E9B9

Accessibility & contrast

On white

1.67
#E1C851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#E1C851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C851
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C851#FFFFFF#000000##000000
##E1C8511.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#F2BAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e1c851;
/* rgb */ color: rgb(225, 200, 81);
/* oklch */ color: oklch(83.2% 0.139 97.4);
Tailwind
colors: {
  custom: {
    50: '#eed887',
    500: '#e1c851',
    950: '#000000',
  },
}
SCSS
$custom: #e1c851;
$custom-light: #eed887;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c851",
  "rgb": {
    "r": 225,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 49.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.83196,
    "c": 0.13939,
    "h": 97.4
  },
  "luminance": 0.5791
}

Semantic roles & 50–950 ramp

primary
#E1C851
secondary
#3649A0
accent
#5AED3A
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E1C851

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

Preview Lab → · Contrast checker → · Palette generator →

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