#E5CC6B#E5CC6B

#E5CC6B is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.7% C 0.121 H 95.2°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E5CC6B
RGBrgb(229, 204, 107)
HSLhsl(48, 70%, 66%)
HSVhsv(48, 53%, 90%)
CMYKcmyk(0%, 10.9%, 53.3%, 10.2%)
CIE-LABlab(82.33, -3.27, 50.97)
CIE-LCHlch(82.33, 51.07, 93.67°)
OKLaboklab(84.66% -0.0109 0.1202)
OKLCHoklch(84.66% 0.121 95.2)
XYZxyz(56.5619, 60.9077, 22.6841)
Luminance0.6090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC6B #6B84E5
analogous
#E58F6B #E5CC6B #C1E56B
triadic
#E5CC6B #6BE5CC #CC6BE5
tetradic
#E5CC6B #6BE58F #6B84E5 #E56BC1
square
#E5CC6B #6BE58F #6B84E5 #E56BC1
split-complementary
#E5CC6B #6BC1E5 #8F6BE5
monochromatic
#B69720 #DCBA37 #E5CC6B #EEDE9F #F7F0D3

Accessibility & contrast

On white

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

On black

13.18
#E5CC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC6B
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC6B#FFFFFF#000000##000000
##E5CC6B1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC862
Deuteranopia (green-blind)
#E4D06F
Tritanopia (blue-blind)
#F5BFB6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e5cc6b;
/* rgb */ color: rgb(229, 204, 107);
/* oklch */ color: oklch(84.7% 0.121 95.2);
Tailwind
colors: {
  custom: {
    50: '#f0db98',
    500: '#e5cc6b',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc6b;
$custom-light: #f0db98;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc6b",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 107
  },
  "hsl": {
    "h": 47.705,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84659,
    "c": 0.12066,
    "h": 95.2
  },
  "luminance": 0.60905
}

Semantic roles & 50–950 ramp

primary
#E5CC6B
secondary
#3E57B6
accent
#3AD213
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #E5CC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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