#E2CD71#E2CD71

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

Color values

HEX#E2CD71
RGBrgb(226, 205, 113)
HSLhsl(49, 66%, 66%)
HSVhsv(49, 50%, 89%)
CMYKcmyk(0%, 9.3%, 50%, 11.4%)
CIE-LABlab(82.39, -4.50, 48.10)
CIE-LCHlch(82.39, 48.31, 95.34°)
OKLaboklab(84.67% -0.0136 0.1144)
OKLCHoklch(84.67% 0.115 96.8)
XYZxyz(56.1778, 61.0259, 24.4396)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD71 #7186E2
analogous
#E29571 #E2CD71 #BEE271
triadic
#E2CD71 #71E2CD #CD71E2
tetradic
#E2CD71 #71E295 #7186E2 #E271BE
square
#E2CD71 #71E295 #7186E2 #E271BE
split-complementary
#E2CD71 #71BEE2 #9571E2
monochromatic
#B49925 #D8BB3E #E2CD71 #ECDFA4 #F7F1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CD71#FFFFFF#000000##000000
##E2CD711.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)
#DDC969
Deuteranopia (green-blind)
#E3D075
Tritanopia (blue-blind)
#F1C1B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd71;
/* rgb */ color: rgb(226, 205, 113);
/* oklch */ color: oklch(84.7% 0.115 96.8);
Tailwind
colors: {
  custom: {
    50: '#eddc9c',
    500: '#e2cd71',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd71;
$custom-light: #eddc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd71",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 48.85,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.11525,
    "h": 96.8
  },
  "luminance": 0.61024
}

Semantic roles & 50–950 ramp

primary
#E2CD71
secondary
#4258B5
accent
#39CE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2CD71

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

Preview Lab → · Contrast checker → · Palette generator →

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