#CCC059#CCC059

#CCC059 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.125 H 102.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#CCC059
RGBrgb(204, 192, 89)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.9%, 56.4%, 20%)
CIE-LABlab(76.84, -8.86, 52.49)
CIE-LCHlch(76.84, 53.23, 99.58°)
OKLaboklab(79.73% -0.0275 0.122)
OKLCHoklch(79.73% 0.125 102.7)
XYZxyz(45.5562, 51.2595, 16.9436)
Luminance0.5126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC059 #5965CC
analogous
#CC8659 #CCC059 #9FCC59
triadic
#CCC059 #59CCC0 #C059CC
tetradic
#CCC059 #59CC86 #5965CC #CC599F
square
#CCC059 #59CC86 #5965CC #CC599F
split-complementary
#CCC059 #599FCC #8659CC
monochromatic
#837928 #B1A536 #CCC059 #DAD288 #E9E4B7

Accessibility & contrast

On white

1.87
#CCC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#CCC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC059
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC059#FFFFFF#000000##000000
##CCC0591.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4F
Deuteranopia (green-blind)
#D3C05E
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc059;
/* rgb */ color: rgb(204, 192, 89);
/* oklch */ color: oklch(79.7% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#ded28b',
    500: '#ccc059',
    950: '#000000',
  },
}
SCSS
$custom: #ccc059;
$custom-light: #ded28b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc059",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 53.739,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79726,
    "c": 0.12509,
    "h": 102.7
  },
  "luminance": 0.51258
}

Semantic roles & 50–950 ramp

primary
#CCC059
secondary
#3F478A
accent
#5BDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC059

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

Preview Lab → · Contrast checker → · Palette generator →

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