#CCC057#CCC057

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

Color values

HEX#CCC057
RGBrgb(204, 192, 87)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 57%, 80%)
CMYKcmyk(0%, 5.9%, 57.4%, 20%)
CIE-LABlab(76.82, -9.01, 53.38)
CIE-LCHlch(76.82, 54.14, 99.58°)
OKLaboklab(79.7% -0.0282 0.1237)
OKLCHoklch(79.7% 0.127 102.8)
XYZxyz(45.4733, 51.2264, 16.5073)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC057 #5763CC
analogous
#CC8657 #CCC057 #9ECC57
triadic
#CCC057 #57CCC0 #C057CC
tetradic
#CCC057 #57CC86 #5763CC #CC579E
square
#CCC057 #57CC86 #5763CC #CC579E
split-complementary
#CCC057 #579ECC #8657CC
monochromatic
#817827 #B0A436 #CCC057 #DAD286 #E9E3B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC057#FFFFFF#000000##000000
##CCC0571.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)
#CFBA4C
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc057;
/* rgb */ color: rgb(204, 192, 87);
/* oklch */ color: oklch(79.7% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#ded28a',
    500: '#ccc057',
    950: '#000000',
  },
}
SCSS
$custom: #ccc057;
$custom-light: #ded28a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc057",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 53.846,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79704,
    "c": 0.12688,
    "h": 102.8
  },
  "luminance": 0.51225
}

Semantic roles & 50–950 ramp

primary
#CCC057
secondary
#3E4689
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC057

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

Preview Lab → · Contrast checker → · Palette generator →

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