#E6CC5A#E6CC5A

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

Color values

HEX#E6CC5A
RGBrgb(230, 204, 90)
HSLhsl(49, 74%, 63%)
HSVhsv(49, 61%, 90%)
CMYKcmyk(0%, 11.3%, 60.9%, 9.8%)
CIE-LABlab(82.24, -4.11, 58.73)
CIE-LCHlch(82.24, 58.87, 94.01°)
OKLaboklab(84.56% -0.0154 0.1349)
OKLCHoklch(84.56% 0.136 96.5)
XYZxyz(56.0738, 60.7495, 18.4431)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC5A #5A74E6
analogous
#E6865A #E6CC5A #BAE65A
triadic
#E6CC5A #5AE6CC #CC5AE6
tetradic
#E6CC5A #5AE686 #5A74E6 #E65ABA
square
#E6CC5A #5AE686 #5A74E6 #E65ABA
split-complementary
#E6CC5A #5ABAE6 #865AE6
monochromatic
#AC911A #DEBC25 #E6CC5A #EEDC8F #F6EDC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E6CC5A#FFFFFF#000000##000000
##E6CC5A1.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)
#DFC84E
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F7BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc5a;
/* rgb */ color: rgb(230, 204, 90);
/* oklch */ color: oklch(84.6% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#f1db8d',
    500: '#e6cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc5a;
$custom-light: #f1db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc5a",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 48.857,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84556,
    "c": 0.1358,
    "h": 96.5
  },
  "luminance": 0.60747
}

Semantic roles & 50–950 ramp

primary
#E6CC5A
secondary
#374DAD
accent
#34D610
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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