#E5CC7A#E5CC7A

#E5CC7A is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.9% C 0.106 H 93.0°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E5CC7A
RGBrgb(229, 204, 122)
HSLhsl(46, 67%, 69%)
HSVhsv(46, 47%, 90%)
CMYKcmyk(0%, 10.9%, 46.7%, 10.2%)
CIE-LABlab(82.51, -1.95, 43.88)
CIE-LCHlch(82.51, 43.92, 92.54°)
OKLaboklab(84.86% -0.0055 0.1057)
OKLCHoklch(84.86% 0.106 93)
XYZxyz(57.4206, 61.2512, 27.2066)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC7A #7A93E5
analogous
#E5977A #E5CC7A #C9E57A
triadic
#E5CC7A #7AE5CC #CC7AE5
tetradic
#E5CC7A #7AE597 #7A93E5 #E57AC9
square
#E5CC7A #7AE597 #7A93E5 #E57AC9
split-complementary
#E5CC7A #7AC9E5 #977AE5
monochromatic
#BF9B25 #DBB847 #E5CC7A #EFE0AD #F9F3E0

Accessibility & contrast

On white

1.58
#E5CC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E5CC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC7A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC7A#FFFFFF#000000##000000
##E5CC7A1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc7a;
/* rgb */ color: rgb(229, 204, 122);
/* oklch */ color: oklch(84.9% 0.106 93.0);
Tailwind
colors: {
  custom: {
    50: '#efdba2',
    500: '#e5cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc7a;
$custom-light: #efdba2;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc7a",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 45.981,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84864,
    "c": 0.10584,
    "h": 93
  },
  "luminance": 0.61249
}

Semantic roles & 50–950 ramp

primary
#E5CC7A
secondary
#4762BD
accent
#42CF16
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E5CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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