#E4CF74#E4CF74

#E4CF74 is a very light, moderate yellow. Relative luminance 0.624; OKLCH L 85.3% C 0.114 H 96.7°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#E4CF74
RGBrgb(228, 207, 116)
HSLhsl(49, 67%, 67%)
HSVhsv(49, 49%, 89%)
CMYKcmyk(0%, 9.2%, 49.1%, 10.6%)
CIE-LABlab(83.12, -4.44, 47.56)
CIE-LCHlch(83.12, 47.76, 95.34°)
OKLaboklab(85.3% -0.0133 0.1135)
OKLCHoklch(85.3% 0.114 96.7)
XYZxyz(57.4619, 62.3828, 25.5339)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF74 #7489E4
analogous
#E49774 #E4CF74 #C1E474
triadic
#E4CF74 #74E4CF #CF74E4
tetradic
#E4CF74 #74E497 #7489E4 #E474C1
square
#E4CF74 #74E497 #7489E4 #E474C1
split-complementary
#E4CF74 #74C1E4 #9774E4
monochromatic
#BA9E24 #DABD41 #E4CF74 #EEE1A7 #F8F2DA

Accessibility & contrast

On white

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

On black

13.48
#E4CF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF74
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF74#FFFFFF#000000##000000
##E4CF741.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6C
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#F3C3BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4cf74;
/* rgb */ color: rgb(228, 207, 116);
/* oklch */ color: oklch(85.3% 0.114 96.7);
Tailwind
colors: {
  custom: {
    50: '#eedd9e',
    500: '#e4cf74',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf74;
$custom-light: #eedd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf74",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 116
  },
  "hsl": {
    "h": 48.75,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85295,
    "c": 0.11424,
    "h": 96.7
  },
  "luminance": 0.62381
}

Semantic roles & 50–950 ramp

primary
#E4CF74
secondary
#4359BA
accent
#39CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CF74

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

Preview Lab → · Contrast checker → · Palette generator →

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