#E6CC57#E6CC57

#E6CC57 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.138 H 96.8°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#E6CC57
RGBrgb(230, 204, 87)
HSLhsl(49, 74%, 62%)
HSVhsv(49, 62%, 90%)
CMYKcmyk(0%, 11.3%, 62.2%, 9.8%)
CIE-LABlab(82.22, -4.31, 60.01)
CIE-LCHlch(82.22, 60.17, 94.11°)
OKLaboklab(84.53% -0.0163 0.1373)
OKLCHoklch(84.53% 0.138 96.8)
XYZxyz(55.9487, 60.6995, 17.7841)
Luminance0.6070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC57 #5771E6
analogous
#E68557 #E6CC57 #B8E657
triadic
#E6CC57 #57E6CC #CC57E6
tetradic
#E6CC57 #57E685 #5771E6 #E657B8
square
#E6CC57 #57E685 #5771E6 #E657B8
split-complementary
#E6CC57 #57B8E6 #8557E6
monochromatic
#A98F19 #DEBC22 #E6CC57 #EEDC8C #F6ECC2

Accessibility & contrast

On white

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

On black

13.14
#E6CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6CC57
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6CC57#FFFFFF#000000##000000
##E6CC571.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#F7BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e6cc57;
/* rgb */ color: rgb(230, 204, 87);
/* oklch */ color: oklch(84.5% 0.138 96.8);
Tailwind
colors: {
  custom: {
    50: '#f1db8b',
    500: '#e6cc57',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc57;
$custom-light: #f1db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc57",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 49.091,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84526,
    "c": 0.13822,
    "h": 96.8
  },
  "luminance": 0.60697
}

Semantic roles & 50–950 ramp

primary
#E6CC57
secondary
#364BAB
accent
#33D60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E6CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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