#E5CF71#E5CF71

#E5CF71 is a very light, moderate yellow. Relative luminance 0.625; OKLCH L 85.3% C 0.117 H 96.5°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E5CF71
RGBrgb(229, 207, 113)
HSLhsl(49, 69%, 67%)
HSVhsv(49, 51%, 90%)
CMYKcmyk(0%, 9.6%, 50.7%, 10.2%)
CIE-LABlab(83.17, -4.30, 49.09)
CIE-LCHlch(83.17, 49.28, 95.01°)
OKLaboklab(85.34% -0.0132 0.1166)
OKLCHoklch(85.34% 0.117 96.5)
XYZxyz(57.6085, 62.4782, 24.6446)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF71 #7187E5
analogous
#E59571 #E5CF71 #C1E571
triadic
#E5CF71 #71E5CF #CF71E5
tetradic
#E5CF71 #71E595 #7187E5 #E571C1
square
#E5CF71 #71E595 #7187E5 #E571C1
split-complementary
#E5CF71 #71C1E5 #9571E5
monochromatic
#BA9D22 #DCBE3D #E5CF71 #EEE0A5 #F8F2D8

Accessibility & contrast

On white

1.56
#E5CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#E5CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF71
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF71#FFFFFF#000000##000000
##E5CF711.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E5D275
Tritanopia (blue-blind)
#F4C3B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5cf71;
/* rgb */ color: rgb(229, 207, 113);
/* oklch */ color: oklch(85.3% 0.117 96.5);
Tailwind
colors: {
  custom: {
    50: '#efdd9c',
    500: '#e5cf71',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf71;
$custom-light: #efdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf71",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 48.621,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85344,
    "c": 0.11734,
    "h": 96.5
  },
  "luminance": 0.62476
}

Semantic roles & 50–950 ramp

primary
#E5CF71
secondary
#4158BA
accent
#38D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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