#E1C871#E1C871

#E1C871 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.111 H 93.8°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E1C871
RGBrgb(225, 200, 113)
HSLhsl(47, 65%, 66%)
HSVhsv(47, 50%, 88%)
CMYKcmyk(0%, 11.1%, 49.8%, 11.8%)
CIE-LABlab(81.02, -2.33, 46.41)
CIE-LCHlch(81.02, 46.47, 92.87°)
OKLaboklab(83.57% -0.0073 0.1107)
OKLCHoklch(83.57% 0.111 93.8)
XYZxyz(54.6881, 58.5107, 24.0326)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1C871 #718AE1
analogous
#E19071 #E1C871 #C2E171
triadic
#E1C871 #71E1C8 #C871E1
tetradic
#E1C871 #71E190 #718AE1 #E171C2
square
#E1C871 #71E190 #718AE1 #E171C2
split-complementary
#E1C871 #71C2E1 #9071E1
monochromatic
#B29326 #D6B43E #E1C871 #ECDCA4 #F6EFD6

Accessibility & contrast

On white

1.65
#E1C871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E1C871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1C871
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1C871#FFFFFF#000000##000000
##E1C8711.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56A
Deuteranopia (green-blind)
#DFCC74
Tritanopia (blue-blind)
#F0BCB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e1c871;
/* rgb */ color: rgb(225, 200, 113);
/* oklch */ color: oklch(83.6% 0.111 93.8);
Tailwind
colors: {
  custom: {
    50: '#ecd89b',
    500: '#e1c871',
    950: '#000000',
  },
}
SCSS
$custom: #e1c871;
$custom-light: #ecd89b;
$custom-dark: #000000;
JSON
{
  "hex": "#e1c871",
  "rgb": {
    "r": 225,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 46.607,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83565,
    "c": 0.11097,
    "h": 93.8
  },
  "luminance": 0.58508
}

Semantic roles & 50–950 ramp

primary
#E1C871
secondary
#435CB3
accent
#41CD19
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E1C871

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

Preview Lab → · Contrast checker → · Palette generator →

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