#E4CC7D#E4CC7D

#E4CC7D is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.103 H 93.1°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E4CC7D
RGBrgb(228, 204, 125)
HSLhsl(46, 66%, 69%)
HSVhsv(46, 45%, 89%)
CMYKcmyk(0%, 10.5%, 45.2%, 10.6%)
CIE-LABlab(82.47, -2.06, 42.31)
CIE-LCHlch(82.47, 42.36, 92.79°)
OKLaboklab(84.82% -0.0055 0.1024)
OKLCHoklch(84.82% 0.103 93.1)
XYZxyz(57.2911, 61.1626, 28.1858)
Luminance0.6116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC7D #7D95E4
analogous
#E4997D #E4CC7D #C9E47D
triadic
#E4CC7D #7DE4CC #CC7DE4
tetradic
#E4CC7D #7DE499 #7D95E4 #E47DC9
square
#E4CC7D #7DE499 #7D95E4 #E47DC9
split-complementary
#E4CC7D #7DC9E4 #997DE4
monochromatic
#BF9C28 #D9B84A #E4CC7D #EFE0B0 #F9F4E2

Accessibility & contrast

On white

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

On black

13.23
#E4CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC7D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC7D#FFFFFF#000000##000000
##E4CC7D1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC977
Deuteranopia (green-blind)
#E2D080
Tritanopia (blue-blind)
#F2C1B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cc7d;
/* rgb */ color: rgb(228, 204, 125);
/* oklch */ color: oklch(84.8% 0.103 93.1);
Tailwind
colors: {
  custom: {
    50: '#eedba4',
    500: '#e4cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc7d;
$custom-light: #eedba4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc7d",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 46.019,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.84819,
    "c": 0.10251,
    "h": 93.1
  },
  "luminance": 0.6116
}

Semantic roles & 50–950 ramp

primary
#E4CC7D
secondary
#4964BC
accent
#42CD18
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#17140F
muted
#858380

Preview Lab

Preview with #E4CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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