#E2CC71#E2CC71

#E2CC71 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.5% C 0.114 H 96.1°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#E2CC71
RGBrgb(226, 204, 113)
HSLhsl(48, 66%, 66%)
HSVhsv(48, 50%, 89%)
CMYKcmyk(0%, 9.7%, 50%, 11.4%)
CIE-LABlab(82.14, -3.98, 47.79)
CIE-LCHlch(82.14, 47.95, 94.77°)
OKLaboklab(84.47% -0.0122 0.1138)
OKLCHoklch(84.47% 0.114 96.1)
XYZxyz(55.9393, 60.5490, 24.3601)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC71 #7187E2
analogous
#E29471 #E2CC71 #C0E271
triadic
#E2CC71 #71E2CC #CC71E2
tetradic
#E2CC71 #71E294 #7187E2 #E271C0
square
#E2CC71 #71E294 #7187E2 #E271C0
split-complementary
#E2CC71 #71C0E2 #9471E2
monochromatic
#B49825 #D8BA3E #E2CC71 #ECDEA4 #F7F1D7

Accessibility & contrast

On white

1.60
#E2CC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#E2CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC71
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC71#FFFFFF#000000##000000
##E2CC711.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC869
Deuteranopia (green-blind)
#E2CF75
Tritanopia (blue-blind)
#F1C0B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2cc71;
/* rgb */ color: rgb(226, 204, 113);
/* oklch */ color: oklch(84.5% 0.114 96.1);
Tailwind
colors: {
  custom: {
    50: '#eddb9c',
    500: '#e2cc71',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc71;
$custom-light: #eddb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc71",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 48.319,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.84466,
    "c": 0.1144,
    "h": 96.1
  },
  "luminance": 0.60547
}

Semantic roles & 50–950 ramp

primary
#E2CC71
secondary
#4259B5
accent
#3BCE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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