#CCC05F#CCC05F

#CCC05F is a light, moderate yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.120 H 102.3°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#CCC05F
RGBrgb(204, 192, 95)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 53%, 80%)
CMYKcmyk(0%, 5.9%, 53.4%, 20%)
CIE-LABlab(76.90, -8.38, 49.75)
CIE-LCHlch(76.90, 50.45, 99.56°)
OKLaboklab(79.8% -0.0255 0.1168)
OKLCHoklch(79.8% 0.12 102.3)
XYZxyz(45.8185, 51.3645, 18.3251)
Luminance0.5136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC05F #5F6BCC
analogous
#CC895F #CCC05F #A1CC5F
triadic
#CCC05F #5FCCC0 #C05FCC
tetradic
#CCC05F #5FCC89 #5F6BCC #CC5FA1
square
#CCC05F #5FCC89 #5F6BCC #CC5FA1
split-complementary
#CCC05F #5FA1CC #895FCC
monochromatic
#867C2B #B4A739 #CCC05F #DBD28D #EAE5BC

Accessibility & contrast

On white

1.86
#CCC05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#CCC05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC05F
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC05F#FFFFFF#000000##000000
##CCC05F1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB56
Deuteranopia (green-blind)
#D3C064
Tritanopia (blue-blind)
#D9B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc05f;
/* rgb */ color: rgb(204, 192, 95);
/* oklch */ color: oklch(79.8% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#ded28f',
    500: '#ccc05f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc05f;
$custom-light: #ded28f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc05f",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 53.394,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79797,
    "c": 0.11952,
    "h": 102.3
  },
  "luminance": 0.51363
}

Semantic roles & 50–950 ramp

primary
#CCC05F
secondary
#424A8D
accent
#5CDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CCC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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