#E4CF72#E4CF72

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

Color values

HEX#E4CF72
RGBrgb(228, 207, 114)
HSLhsl(49, 68%, 67%)
HSVhsv(49, 50%, 89%)
CMYKcmyk(0%, 9.2%, 50%, 10.6%)
CIE-LABlab(83.09, -4.62, 48.50)
CIE-LCHlch(83.09, 48.72, 95.44°)
OKLaboklab(85.27% -0.014 0.1154)
OKLCHoklch(85.27% 0.116 96.9)
XYZxyz(57.3468, 62.3368, 24.9278)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF72 #7287E4
analogous
#E49672 #E4CF72 #C0E472
triadic
#E4CF72 #72E4CF #CF72E4
tetradic
#E4CF72 #72E496 #7287E4 #E472C0
square
#E4CF72 #72E496 #7287E4 #E472C0
split-complementary
#E4CF72 #72C0E4 #9672E4
monochromatic
#B89D23 #DABE3F #E4CF72 #EEE0A5 #F8F2D9

Accessibility & contrast

On white

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

On black

13.47
#E4CF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF72
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF72#FFFFFF#000000##000000
##E4CF721.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cf72;
/* rgb */ color: rgb(228, 207, 114);
/* oklch */ color: oklch(85.3% 0.116 96.9);
Tailwind
colors: {
  custom: {
    50: '#efdd9c',
    500: '#e4cf72',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf72;
$custom-light: #efdd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf72",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 48.947,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85268,
    "c": 0.11623,
    "h": 96.9
  },
  "luminance": 0.62335
}

Semantic roles & 50–950 ramp

primary
#E4CF72
secondary
#4258B9
accent
#38D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CF72

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

Preview Lab → · Contrast checker → · Palette generator →

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