#E5CC6F#E5CC6F

#E5CC6F is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.117 H 94.7°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#E5CC6F
RGBrgb(229, 204, 111)
HSLhsl(47, 69%, 67%)
HSVhsv(47, 52%, 90%)
CMYKcmyk(0%, 10.9%, 51.5%, 10.2%)
CIE-LABlab(82.38, -2.94, 49.11)
CIE-LCHlch(82.38, 49.19, 93.42°)
OKLaboklab(84.71% -0.0095 0.1164)
OKLCHoklch(84.71% 0.117 94.7)
XYZxyz(56.7772, 60.9939, 23.8181)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC6F #6F88E5
analogous
#E5916F #E5CC6F #C3E56F
triadic
#E5CC6F #6FE5CC #CC6FE5
tetradic
#E5CC6F #6FE591 #6F88E5 #E56FC3
square
#E5CC6F #6FE591 #6F88E5 #E56FC3
split-complementary
#E5CC6F #6FC3E5 #916FE5
monochromatic
#B89821 #DCBA3B #E5CC6F #EEDEA3 #F8F1D7

Accessibility & contrast

On white

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

On black

13.20
#E5CC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC6F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC6F#FFFFFF#000000##000000
##E5CC6F1.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC867
Deuteranopia (green-blind)
#E3D073
Tritanopia (blue-blind)
#F5C0B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc6f;
/* rgb */ color: rgb(229, 204, 111);
/* oklch */ color: oklch(84.7% 0.117 94.7);
Tailwind
colors: {
  custom: {
    50: '#efdb9a',
    500: '#e5cc6f',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc6f;
$custom-light: #efdb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc6f",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 47.288,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84711,
    "c": 0.11683,
    "h": 94.7
  },
  "luminance": 0.60991
}

Semantic roles & 50–950 ramp

primary
#E5CC6F
secondary
#4059B8
accent
#3CD114
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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