#E4CD72#E4CD72

#E4CD72 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.9% C 0.115 H 95.5°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E4CD72
RGBrgb(228, 205, 114)
HSLhsl(48, 68%, 67%)
HSVhsv(48, 50%, 89%)
CMYKcmyk(0%, 10.1%, 50%, 10.6%)
CIE-LABlab(82.58, -3.60, 47.88)
CIE-LCHlch(82.58, 48.01, 94.30°)
OKLaboklab(84.86% -0.0111 0.114)
OKLCHoklch(84.86% 0.115 95.5)
XYZxyz(56.8654, 61.3738, 24.7673)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD72 #7289E4
analogous
#E49472 #E4CD72 #C2E472
triadic
#E4CD72 #72E4CD #CD72E4
tetradic
#E4CD72 #72E494 #7289E4 #E472C2
square
#E4CD72 #72E494 #7289E4 #E472C2
split-complementary
#E4CD72 #72C2E4 #9472E4
monochromatic
#B89A23 #DABB3F #E4CD72 #EEDFA5 #F8F1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CD72#FFFFFF#000000##000000
##E4CD721.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)
#DDC96A
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#F3C1B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd72;
/* rgb */ color: rgb(228, 205, 114);
/* oklch */ color: oklch(84.9% 0.115 95.5);
Tailwind
colors: {
  custom: {
    50: '#efdc9c',
    500: '#e4cd72',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd72;
$custom-light: #efdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd72",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 47.895,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84862,
    "c": 0.11454,
    "h": 95.5
  },
  "luminance": 0.61372
}

Semantic roles & 50–950 ramp

primary
#E4CD72
secondary
#425AB9
accent
#3BD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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