#E4CF71#E4CF71

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

Color values

HEX#E4CF71
RGBrgb(228, 207, 113)
HSLhsl(49, 68%, 67%)
HSVhsv(49, 50%, 89%)
CMYKcmyk(0%, 9.2%, 50.4%, 10.6%)
CIE-LABlab(83.08, -4.71, 48.97)
CIE-LCHlch(83.08, 49.19, 95.49°)
OKLaboklab(85.26% -0.0144 0.1163)
OKLCHoklch(85.26% 0.117 97)
XYZxyz(57.2902, 62.3141, 24.6297)
Luminance0.6231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF71 #7186E4
analogous
#E49571 #E4CF71 #C0E471
triadic
#E4CF71 #71E4CF #CF71E4
tetradic
#E4CF71 #71E495 #7186E4 #E471C0
square
#E4CF71 #71E495 #7186E4 #E471C0
split-complementary
#E4CF71 #71C0E4 #9571E4
monochromatic
#B89D23 #DABE3E #E4CF71 #EEE0A4 #F8F2D8

Accessibility & contrast

On white

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

On black

13.46
#E4CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF71
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF71#FFFFFF#000000##000000
##E4CF711.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cf71;
/* rgb */ color: rgb(228, 207, 113);
/* oklch */ color: oklch(85.3% 0.117 97.0);
Tailwind
colors: {
  custom: {
    50: '#efdd9c',
    500: '#e4cf71',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf71;
$custom-light: #efdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf71",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 49.043,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85255,
    "c": 0.11721,
    "h": 97
  },
  "luminance": 0.62312
}

Semantic roles & 50–950 ramp

primary
#E4CF71
secondary
#4157B8
accent
#38D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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