#CCC07D#CCC07D

#CCC07D is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.088 H 99.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CCC07D
RGBrgb(204, 192, 125)
HSLhsl(51, 44%, 65%)
HSVhsv(51, 39%, 80%)
CMYKcmyk(0%, 5.9%, 38.7%, 20%)
CIE-LABlab(77.29, -5.46, 35.29)
CIE-LCHlch(77.29, 35.71, 98.80°)
OKLaboklab(80.24% -0.0142 0.0866)
OKLCHoklch(80.24% 0.088 99.3)
XYZxyz(47.4540, 52.0187, 26.9389)
Luminance0.5202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC07D #7D89CC
analogous
#CC997D #CCC07D #B1CC7D
triadic
#CCC07D #7DCCC0 #C07DCC
tetradic
#CCC07D #7DCC99 #7D89CC #CC7DB1
square
#CCC07D #7DCC99 #7D89CC #CC7DB1
split-complementary
#CCC07D #7DB1CC #997DCC
monochromatic
#94873A #BBAB51 #CCC07D #DDD5A9 #EEEBD5

Accessibility & contrast

On white

1.84
#CCC07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CCC07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC07D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC07D#FFFFFF#000000##000000
##CCC07D1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC78
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#D7B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc07d;
/* rgb */ color: rgb(204, 192, 125);
/* oklch */ color: oklch(80.2% 0.088 99.3);
Tailwind
colors: {
  custom: {
    50: '#ddd2a3',
    500: '#ccc07d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc07d;
$custom-light: #ddd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc07d",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 125
  },
  "hsl": {
    "h": 50.886,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80235,
    "c": 0.08779,
    "h": 99.3
  },
  "luminance": 0.52017
}

Semantic roles & 50–950 ramp

primary
#CCC07D
secondary
#525D9B
accent
#43B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC07D

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

Preview Lab → · Contrast checker → · Palette generator →

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