#E5CC7B#E5CC7B

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

Color values

HEX#E5CC7B
RGBrgb(229, 204, 123)
HSLhsl(46, 67%, 69%)
HSVhsv(46, 46%, 90%)
CMYKcmyk(0%, 10.9%, 46.3%, 10.2%)
CIE-LABlab(82.53, -1.85, 43.40)
CIE-LCHlch(82.53, 43.44, 92.44°)
OKLaboklab(84.88% -0.0051 0.1047)
OKLCHoklch(84.88% 0.105 92.8)
XYZxyz(57.4829, 61.2761, 27.5346)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC7B #7B94E5
analogous
#E5977B #E5CC7B #C9E57B
triadic
#E5CC7B #7BE5CC #CC7BE5
tetradic
#E5CC7B #7BE597 #7B94E5 #E57BC9
square
#E5CC7B #7BE597 #7B94E5 #E57BC9
split-complementary
#E5CC7B #7BC9E5 #977BE5
monochromatic
#C09B26 #DBB848 #E5CC7B #EFE0AE #F9F4E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5CC7B#FFFFFF#000000##000000
##E5CC7B1.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)
#DCC975
Deuteranopia (green-blind)
#E2D17E
Tritanopia (blue-blind)
#F4C0B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc7b;
/* rgb */ color: rgb(229, 204, 123);
/* oklch */ color: oklch(84.9% 0.105 92.8);
Tailwind
colors: {
  custom: {
    50: '#efdba2',
    500: '#e5cc7b',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc7b;
$custom-light: #efdba2;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc7b",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 45.849,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84879,
    "c": 0.10481,
    "h": 92.8
  },
  "luminance": 0.61274
}

Semantic roles & 50–950 ramp

primary
#E5CC7B
secondary
#4763BD
accent
#42CF17
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #E5CC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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