#E6CC5C#E6CC5C

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

Color values

HEX#E6CC5C
RGBrgb(230, 204, 92)
HSLhsl(49, 73%, 63%)
HSVhsv(49, 60%, 90%)
CMYKcmyk(0%, 11.3%, 60%, 9.8%)
CIE-LABlab(82.26, -3.98, 57.86)
CIE-LCHlch(82.26, 57.99, 93.93°)
OKLaboklab(84.58% -0.0147 0.1333)
OKLCHoklch(84.58% 0.134 96.3)
XYZxyz(56.1601, 60.7840, 18.8975)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC5C #5C76E6
analogous
#E6875C #E6CC5C #BBE65C
triadic
#E6CC5C #5CE6CC #CC5CE6
tetradic
#E6CC5C #5CE687 #5C76E6 #E65CBB
square
#E6CC5C #5CE687 #5C76E6 #E65CBB
split-complementary
#E6CC5C #5CBBE6 #875CE6
monochromatic
#AD911B #DEBB27 #E6CC5C #EEDD91 #F6EDC6

Accessibility & contrast

On white

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

On black

13.16
#E6CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC5C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC5C#FFFFFF#000000##000000
##E6CC5C1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC850
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#F7BEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e6cc5c;
/* rgb */ color: rgb(230, 204, 92);
/* oklch */ color: oklch(84.6% 0.134 96.3);
Tailwind
colors: {
  custom: {
    50: '#f1db8e',
    500: '#e6cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc5c;
$custom-light: #f1db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc5c",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 48.696,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84577,
    "c": 0.13414,
    "h": 96.3
  },
  "luminance": 0.60781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E6CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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