#E4C970#E4C970

#E4C970 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 84.0% C 0.113 H 92.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#E4C970
RGBrgb(228, 201, 112)
HSLhsl(46, 68%, 67%)
HSVhsv(46, 51%, 89%)
CMYKcmyk(0%, 11.8%, 50.9%, 10.6%)
CIE-LABlab(81.53, -1.71, 47.58)
CIE-LCHlch(81.53, 47.61, 92.06°)
OKLaboklab(84.03% -0.0058 0.1132)
OKLCHoklch(84.03% 0.113 92.9)
XYZxyz(55.8081, 59.4396, 23.8594)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C970 #708BE4
analogous
#E48F70 #E4C970 #C5E470
triadic
#E4C970 #70E4C9 #C970E4
tetradic
#E4C970 #70E48F #708BE4 #E470C5
square
#E4C970 #70E48F #708BE4 #E470C5
split-complementary
#E4C970 #70C5E4 #8F70E4
monochromatic
#B79423 #DAB63D #E4C970 #EEDCA3 #F7F0D7

Accessibility & contrast

On white

1.63
#E4C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#E4C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C970
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C970#FFFFFF#000000##000000
##E4C9701.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC668
Deuteranopia (green-blind)
#E1CE73
Tritanopia (blue-blind)
#F3BDB4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e4c970;
/* rgb */ color: rgb(228, 201, 112);
/* oklch */ color: oklch(84.0% 0.113 92.9);
Tailwind
colors: {
  custom: {
    50: '#efd99b',
    500: '#e4c970',
    950: '#000000',
  },
}
SCSS
$custom: #e4c970;
$custom-light: #efd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c970",
  "rgb": {
    "r": 228,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 46.034,
    "s": 68.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84028,
    "c": 0.11335,
    "h": 92.9
  },
  "luminance": 0.59437
}

Semantic roles & 50–950 ramp

primary
#E4C970
secondary
#415CB7
accent
#41D015
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E4C970

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

Preview Lab → · Contrast checker → · Palette generator →

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