#E6CC56#E6CC56

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

Color values

HEX#E6CC56
RGBrgb(230, 204, 86)
HSLhsl(49, 74%, 62%)
HSVhsv(49, 63%, 90%)
CMYKcmyk(0%, 11.3%, 62.6%, 9.8%)
CIE-LABlab(82.21, -4.37, 60.44)
CIE-LCHlch(82.21, 60.60, 94.14°)
OKLaboklab(84.52% -0.0166 0.138)
OKLCHoklch(84.52% 0.139 96.8)
XYZxyz(55.9081, 60.6833, 17.5705)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6CC56 #5670E6
analogous
#E68456 #E6CC56 #B8E656
triadic
#E6CC56 #56E6CC #CC56E6
tetradic
#E6CC56 #56E684 #5670E6 #E656B8
square
#E6CC56 #56E684 #5670E6 #E656B8
split-complementary
#E6CC56 #56B8E6 #8456E6
monochromatic
#A98F19 #DEBC21 #E6CC56 #EEDC8B #F6ECC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E6CC56#FFFFFF#000000##000000
##E6CC561.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)
#DFC849
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#F7BEB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e6cc56;
/* rgb */ color: rgb(230, 204, 86);
/* oklch */ color: oklch(84.5% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#f1db8a',
    500: '#e6cc56',
    950: '#000000',
  },
}
SCSS
$custom: #e6cc56;
$custom-light: #f1db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e6cc56",
  "rgb": {
    "r": 230,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 49.167,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84517,
    "c": 0.13901,
    "h": 96.8
  },
  "luminance": 0.60681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E6CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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