#CCC07A#CCC07A

#CCC07A is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.091 H 99.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CCC07A
RGBrgb(204, 192, 122)
HSLhsl(51, 45%, 64%)
HSVhsv(51, 40%, 80%)
CMYKcmyk(0%, 5.9%, 40.2%, 20%)
CIE-LABlab(77.25, -5.80, 36.78)
CIE-LCHlch(77.25, 37.23, 98.96°)
OKLaboklab(80.19% -0.0154 0.0899)
OKLCHoklch(80.19% 0.091 99.7)
XYZxyz(47.2653, 51.9432, 25.9448)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC07A #7A86CC
analogous
#CC977A #CCC07A #AFCC7A
triadic
#CCC07A #7ACCC0 #C07ACC
tetradic
#CCC07A #7ACC97 #7A86CC #CC7AAF
square
#CCC07A #7ACC97 #7A86CC #CC7AAF
split-complementary
#CCC07A #7AAFCC #977ACC
monochromatic
#938638 #BBAB4E #CCC07A #DDD5A6 #EEEAD2

Accessibility & contrast

On white

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

On black

11.39
#CCC07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC07A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC07A#FFFFFF#000000##000000
##CCC07A1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc07a;
/* rgb */ color: rgb(204, 192, 122);
/* oklch */ color: oklch(80.2% 0.091 99.7);
Tailwind
colors: {
  custom: {
    50: '#ddd2a1',
    500: '#ccc07a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc07a;
$custom-light: #ddd2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc07a",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 122
  },
  "hsl": {
    "h": 51.22,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80185,
    "c": 0.09121,
    "h": 99.7
  },
  "luminance": 0.51942
}

Semantic roles & 50–950 ramp

primary
#CCC07A
secondary
#515B9A
accent
#42B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC07A

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

Preview Lab → · Contrast checker → · Palette generator →

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