#CCCB4A#CCCB4A

#CCCB4A is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.148 H 108.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#CCCB4A
RGBrgb(204, 203, 74)
HSLhsl(60, 56%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0.5%, 63.7%, 20%)
CIE-LABlab(79.64, -15.47, 62.08)
CIE-LCHlch(79.64, 63.98, 103.99°)
OKLaboklab(81.92% -0.0479 0.1404)
OKLCHoklch(81.92% 0.148 108.8)
XYZxyz(47.4954, 56.0450, 14.7931)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB4A #4A4BCC
analogous
#CC8A4A #CCCB4A #8CCC4A
triadic
#CCCB4A #4ACCCB #CB4ACC
tetradic
#CCCB4A #4ACC8A #4A4BCC #CC4A8C
square
#CCCB4A #4ACC8A #4A4BCC #CC4A8C
split-complementary
#CCCB4A #4A8CCC #8A4ACC
monochromatic
#797922 #A9A830 #CCCB4A #D9D97A #E7E6A9

Accessibility & contrast

On white

1.72
#CCCB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#CCCB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB4A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB4A#FFFFFF#000000##000000
##CCCB4A1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC339
Deuteranopia (green-blind)
#DDC752
Tritanopia (blue-blind)
#DABFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb4a;
/* rgb */ color: rgb(204, 203, 74);
/* oklch */ color: oklch(81.9% 0.148 108.8);
Tailwind
colors: {
  custom: {
    50: '#dfda83',
    500: '#cccb4a',
    950: '#000000',
  },
}
SCSS
$custom: #cccb4a;
$custom-light: #dfda83;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb4a",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 74
  },
  "hsl": {
    "h": 59.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81915,
    "c": 0.14838,
    "h": 108.8
  },
  "luminance": 0.56044
}

Semantic roles & 50–950 ramp

primary
#CCCB4A
secondary
#393982
accent
#4ADF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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