#E4CD71#E4CD71

#E4CD71 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.8% C 0.116 H 95.7°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E4CD71
RGBrgb(228, 205, 113)
HSLhsl(48, 68%, 67%)
HSVhsv(48, 50%, 89%)
CMYKcmyk(0%, 10.1%, 50.4%, 10.6%)
CIE-LABlab(82.57, -3.68, 48.35)
CIE-LCHlch(82.57, 48.49, 94.36°)
OKLaboklab(84.85% -0.0114 0.115)
OKLCHoklch(84.85% 0.116 95.7)
XYZxyz(56.8088, 61.3512, 24.4692)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD71 #7188E4
analogous
#E49471 #E4CD71 #C2E471
triadic
#E4CD71 #71E4CD #CD71E4
tetradic
#E4CD71 #71E494 #7188E4 #E471C2
square
#E4CD71 #71E494 #7188E4 #E471C2
split-complementary
#E4CD71 #71C2E4 #9471E4
monochromatic
#B89A23 #DABB3E #E4CD71 #EEDFA4 #F8F1D8

Accessibility & contrast

On white

1.58
#E4CD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#E4CD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD71
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD71#FFFFFF#000000##000000
##E4CD711.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC969
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#F3C1B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd71;
/* rgb */ color: rgb(228, 205, 113);
/* oklch */ color: oklch(84.8% 0.116 95.7);
Tailwind
colors: {
  custom: {
    50: '#efdc9c',
    500: '#e4cd71',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd71;
$custom-light: #efdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd71",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 48,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84849,
    "c": 0.11552,
    "h": 95.7
  },
  "luminance": 0.61349
}

Semantic roles & 50–950 ramp

primary
#E4CD71
secondary
#4159B8
accent
#3BD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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