#CCC07C#CCC07C

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

Color values

HEX#CCC07C
RGBrgb(204, 192, 124)
HSLhsl(51, 44%, 64%)
HSVhsv(51, 39%, 80%)
CMYKcmyk(0%, 5.9%, 39.2%, 20%)
CIE-LABlab(77.28, -5.58, 35.79)
CIE-LCHlch(77.28, 36.22, 98.86°)
OKLaboklab(80.22% -0.0146 0.0877)
OKLCHoklch(80.22% 0.089 99.5)
XYZxyz(47.3905, 51.9933, 26.6042)
Luminance0.5199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC07C #7C88CC
analogous
#CC987C #CCC07C #B0CC7C
triadic
#CCC07C #7CCCC0 #C07CCC
tetradic
#CCC07C #7CCC98 #7C88CC #CC7CB0
square
#CCC07C #7CCC98 #7C88CC #CC7CB0
split-complementary
#CCC07C #7CB0CC #987CCC
monochromatic
#94863A #BBAB50 #CCC07C #DDD5A8 #EEEAD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC07C#FFFFFF#000000##000000
##CCC07C1.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)
#CCBC77
Deuteranopia (green-blind)
#D0C17F
Tritanopia (blue-blind)
#D7B7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc07c;
/* rgb */ color: rgb(204, 192, 124);
/* oklch */ color: oklch(80.2% 0.089 99.5);
Tailwind
colors: {
  custom: {
    50: '#ddd2a3',
    500: '#ccc07c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc07c;
$custom-light: #ddd2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc07c",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 124
  },
  "hsl": {
    "h": 51,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80218,
    "c": 0.08893,
    "h": 99.5
  },
  "luminance": 0.51992
}

Semantic roles & 50–950 ramp

primary
#CCC07C
secondary
#525D9A
accent
#43B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC07C

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

Preview Lab → · Contrast checker → · Palette generator →

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