#E5C970#E5C970

#E5C970 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 84.1% C 0.114 H 92.4°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#E5C970
RGBrgb(229, 201, 112)
HSLhsl(46, 69%, 67%)
HSVhsv(46, 51%, 90%)
CMYKcmyk(0%, 12.2%, 51.1%, 10.2%)
CIE-LABlab(81.62, -1.30, 47.71)
CIE-LCHlch(81.62, 47.73, 91.57°)
OKLaboklab(84.12% -0.0047 0.1135)
OKLCHoklch(84.12% 0.114 92.4)
XYZxyz(56.1264, 59.6037, 23.8743)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5C970 #708CE5
analogous
#E58F70 #E5C970 #C7E570
triadic
#E5C970 #70E5C9 #C970E5
tetradic
#E5C970 #70E58F #708CE5 #E570C7
square
#E5C970 #70E58F #708CE5 #E570C7
split-complementary
#E5C970 #70C7E5 #8F70E5
monochromatic
#B99522 #DCB53C #E5C970 #EEDDA4 #F8F0D8

Accessibility & contrast

On white

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

On black

12.92
#E5C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5C970
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5C970#FFFFFF#000000##000000
##E5C9701.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5c970;
/* rgb */ color: rgb(229, 201, 112);
/* oklch */ color: oklch(84.1% 0.114 92.4);
Tailwind
colors: {
  custom: {
    50: '#efd99b',
    500: '#e5c970',
    950: '#000000',
  },
}
SCSS
$custom: #e5c970;
$custom-light: #efd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5c970",
  "rgb": {
    "r": 229,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 45.641,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84119,
    "c": 0.11357,
    "h": 92.4
  },
  "luminance": 0.59601
}

Semantic roles & 50–950 ramp

primary
#E5C970
secondary
#405DB9
accent
#42D114
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5C970

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

Preview Lab → · Contrast checker → · Palette generator →

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