#E4CC7A#E4CC7A

#E4CC7A is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.106 H 93.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E4CC7A
RGBrgb(228, 204, 122)
HSLhsl(46, 66%, 69%)
HSVhsv(46, 46%, 89%)
CMYKcmyk(0%, 10.5%, 46.5%, 10.6%)
CIE-LABlab(82.43, -2.35, 43.75)
CIE-LCHlch(82.43, 43.81, 93.07°)
OKLaboklab(84.77% -0.0066 0.1054)
OKLCHoklch(84.77% 0.106 93.6)
XYZxyz(57.1023, 61.0871, 27.1917)
Luminance0.6109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC7A #7A92E4
analogous
#E4977A #E4CC7A #C7E47A
triadic
#E4CC7A #7AE4CC #CC7AE4
tetradic
#E4CC7A #7AE497 #7A92E4 #E47AC7
square
#E4CC7A #7AE497 #7A92E4 #E47AC7
split-complementary
#E4CC7A #7AC7E4 #977AE4
monochromatic
#BD9B26 #DAB847 #E4CC7A #EEE0AD #F9F3E0

Accessibility & contrast

On white

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

On black

13.22
#E4CC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC7A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC7A#FFFFFF#000000##000000
##E4CC7A1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#E2D07D
Tritanopia (blue-blind)
#F3C0B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cc7a;
/* rgb */ color: rgb(228, 204, 122);
/* oklch */ color: oklch(84.8% 0.106 93.6);
Tailwind
colors: {
  custom: {
    50: '#eedba2',
    500: '#e4cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc7a;
$custom-light: #eedba2;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc7a",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 46.415,
    "s": 66.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.10563,
    "h": 93.6
  },
  "luminance": 0.61085
}

Semantic roles & 50–950 ramp

primary
#E4CC7A
secondary
#4761BB
accent
#41CE17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E4CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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