#E4CF70#E4CF70

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

Color values

HEX#E4CF70
RGBrgb(228, 207, 112)
HSLhsl(49, 68%, 67%)
HSVhsv(49, 51%, 89%)
CMYKcmyk(0%, 9.2%, 50.9%, 10.6%)
CIE-LABlab(83.07, -4.79, 49.44)
CIE-LCHlch(83.07, 49.67, 95.54°)
OKLaboklab(85.24% -0.0147 0.1173)
OKLCHoklch(85.24% 0.118 97.2)
XYZxyz(57.2342, 62.2917, 24.3348)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF70 #7085E4
analogous
#E49570 #E4CF70 #BFE470
triadic
#E4CF70 #70E4CF #CF70E4
tetradic
#E4CF70 #70E495 #7085E4 #E470BF
square
#E4CF70 #70E495 #7085E4 #E470BF
split-complementary
#E4CF70 #70BFE4 #9570E4
monochromatic
#B79C23 #DABE3D #E4CF70 #EEE0A3 #F7F2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4CF70#FFFFFF#000000##000000
##E4CF701.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)
#E0CB68
Deuteranopia (green-blind)
#E5D274
Tritanopia (blue-blind)
#F3C3B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4cf70;
/* rgb */ color: rgb(228, 207, 112);
/* oklch */ color: oklch(85.2% 0.118 97.2);
Tailwind
colors: {
  custom: {
    50: '#efdd9b',
    500: '#e4cf70',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf70;
$custom-light: #efdd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf70",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 112
  },
  "hsl": {
    "h": 49.138,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85242,
    "c": 0.11819,
    "h": 97.2
  },
  "luminance": 0.62289
}

Semantic roles & 50–950 ramp

primary
#E4CF70
secondary
#4156B7
accent
#37D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4CF70

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

Preview Lab → · Contrast checker → · Palette generator →

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