#E2CC73#E2CC73

#E2CC73 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.112 H 95.8°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E2CC73
RGBrgb(226, 204, 115)
HSLhsl(48, 66%, 67%)
HSVhsv(48, 49%, 89%)
CMYKcmyk(0%, 9.7%, 49.1%, 11.4%)
CIE-LABlab(82.16, -3.81, 46.84)
CIE-LCHlch(82.16, 46.99, 94.64°)
OKLaboklab(84.49% -0.0114 0.1118)
OKLCHoklch(84.49% 0.112 95.8)
XYZxyz(56.0532, 60.5945, 24.9596)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC73 #7389E2
analogous
#E29573 #E2CC73 #C1E273
triadic
#E2CC73 #73E2CC #CC73E2
tetradic
#E2CC73 #73E295 #7389E2 #E273C1
square
#E2CC73 #73E295 #7389E2 #E273C1
split-complementary
#E2CC73 #73C1E2 #9573E2
monochromatic
#B59926 #D7BA40 #E2CC73 #EDDEA6 #F7F1D8

Accessibility & contrast

On white

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

On black

13.12
#E2CC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC73
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC73#FFFFFF#000000##000000
##E2CC731.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cc73;
/* rgb */ color: rgb(226, 204, 115);
/* oklch */ color: oklch(84.5% 0.112 95.8);
Tailwind
colors: {
  custom: {
    50: '#eddb9d',
    500: '#e2cc73',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc73;
$custom-light: #eddb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc73",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 115
  },
  "hsl": {
    "h": 48.108,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84494,
    "c": 0.1124,
    "h": 95.8
  },
  "luminance": 0.60592
}

Semantic roles & 50–950 ramp

primary
#E2CC73
secondary
#435AB6
accent
#3CCE18
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E2CC73

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

Preview Lab → · Contrast checker → · Palette generator →

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