#E6CC5B#E6CC5B

#E6CC5B is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.6% C 0.135 H 96.4°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#E6CC5B
RGBrgb(230, 204, 91)
HSLhsl(49, 74%, 63%)
HSVhsv(49, 60%, 90%)
CMYKcmyk(0%, 11.3%, 60.4%, 9.8%)
CIE-LABlab(82.25, -4.05, 58.29)
CIE-LCHlch(82.25, 58.43, 93.97°)
OKLaboklab(84.57% -0.0151 0.1341)
OKLCHoklch(84.57% 0.135 96.4)
XYZxyz(56.1167, 60.7667, 18.6688)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC5B #5B75E6
analogous
#E6865B #E6CC5B #BAE65B
triadic
#E6CC5B #5BE6CC #CC5BE6
tetradic
#E6CC5B #5BE686 #5B75E6 #E65BBA
square
#E6CC5B #5BE686 #5B75E6 #E65BBA
split-complementary
#E6CC5B #5BBAE6 #865BE6
monochromatic
#AC911A #DEBB26 #E6CC5B #EEDD90 #F6EDC5

Accessibility & contrast

On white

1.60
#E6CC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#E6CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC5B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC5B#FFFFFF#000000##000000
##E6CC5B1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F7BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc5b;
/* rgb */ color: rgb(230, 204, 91);
/* oklch */ color: oklch(84.6% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#f1db8d',
    500: '#e6cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc5b;
$custom-light: #f1db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc5b",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 48.777,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84567,
    "c": 0.13497,
    "h": 96.4
  },
  "luminance": 0.60764
}

Semantic roles & 50–950 ramp

primary
#E6CC5B
secondary
#384EAE
accent
#35D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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