#E2C970#E2C970

#E2C970 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.113 H 94.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E2C970
RGBrgb(226, 201, 112)
HSLhsl(47, 66%, 66%)
HSVhsv(47, 50%, 89%)
CMYKcmyk(0%, 11.1%, 50.4%, 11.4%)
CIE-LABlab(81.35, -2.53, 47.33)
CIE-LCHlch(81.35, 47.39, 93.06°)
OKLaboklab(83.85% -0.008 0.1127)
OKLCHoklch(83.85% 0.113 94.1)
XYZxyz(55.1772, 59.1142, 23.8299)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C970 #7089E2
analogous
#E29070 #E2C970 #C2E270
triadic
#E2C970 #70E2C9 #C970E2
tetradic
#E2C970 #70E290 #7089E2 #E270C2
square
#E2C970 #70E290 #7089E2 #E270C2
split-complementary
#E2C970 #70C2E2 #9070E2
monochromatic
#B39424 #D8B63D #E2C970 #ECDCA3 #F7EFD6

Accessibility & contrast

On white

1.64
#E2C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#E2C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C970
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C970#FFFFFF#000000##000000
##E2C9701.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C668
Deuteranopia (green-blind)
#E0CD74
Tritanopia (blue-blind)
#F1BDB4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e2c970;
/* rgb */ color: rgb(226, 201, 112);
/* oklch */ color: oklch(83.8% 0.113 94.1);
Tailwind
colors: {
  custom: {
    50: '#edd99b',
    500: '#e2c970',
    950: '#000000',
  },
}
SCSS
$custom: #e2c970;
$custom-light: #edd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c970",
  "rgb": {
    "r": 226,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 46.842,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83845,
    "c": 0.11295,
    "h": 94.1
  },
  "luminance": 0.59112
}

Semantic roles & 50–950 ramp

primary
#E2C970
secondary
#425BB4
accent
#3FCE17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2C970

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

Preview Lab → · Contrast checker → · Palette generator →

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