#E2CD70#E2CD70

#E2CD70 is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.116 H 96.9°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#E2CD70
RGBrgb(226, 205, 112)
HSLhsl(49, 66%, 66%)
HSVhsv(49, 50%, 89%)
CMYKcmyk(0%, 9.3%, 50.4%, 11.4%)
CIE-LABlab(82.38, -4.58, 48.57)
CIE-LCHlch(82.38, 48.78, 95.39°)
OKLaboklab(84.66% -0.014 0.1154)
OKLCHoklch(84.66% 0.116 96.9)
XYZxyz(56.1218, 61.0035, 24.1447)
Luminance0.6100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD70 #7085E2
analogous
#E29470 #E2CD70 #BEE270
triadic
#E2CD70 #70E2CD #CD70E2
tetradic
#E2CD70 #70E294 #7085E2 #E270BE
square
#E2CD70 #70E294 #7085E2 #E270BE
split-complementary
#E2CD70 #70BEE2 #9470E2
monochromatic
#B39924 #D8BB3D #E2CD70 #ECDFA3 #F7F1D6

Accessibility & contrast

On white

1.59
#E2CD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#E2CD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD70
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD70#FFFFFF#000000##000000
##E2CD701.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC968
Deuteranopia (green-blind)
#E3D074
Tritanopia (blue-blind)
#F1C1B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd70;
/* rgb */ color: rgb(226, 205, 112);
/* oklch */ color: oklch(84.7% 0.116 96.9);
Tailwind
colors: {
  custom: {
    50: '#eddc9b',
    500: '#e2cd70',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd70;
$custom-light: #eddc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd70",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 48.947,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84656,
    "c": 0.11624,
    "h": 96.9
  },
  "luminance": 0.61001
}

Semantic roles & 50–950 ramp

primary
#E2CD70
secondary
#4257B4
accent
#39CE17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CD70

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

Preview Lab → · Contrast checker → · Palette generator →

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