#CCCB4F#CCCB4F

#CCCB4F is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.145 H 108.8°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CCCB4F
RGBrgb(204, 203, 79)
HSLhsl(60, 55%, 55%)
HSVhsv(60, 61%, 80%)
CMYKcmyk(0%, 0.5%, 61.3%, 20%)
CIE-LABlab(79.68, -15.15, 60.05)
CIE-LCHlch(79.68, 61.93, 104.16°)
OKLaboklab(81.96% -0.0465 0.1369)
OKLCHoklch(81.96% 0.145 108.8)
XYZxyz(47.6705, 56.1151, 15.7158)
Luminance0.5611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB4F #4F50CC
analogous
#CC8C4F #CCCB4F #8ECC4F
triadic
#CCCB4F #4FCCCB #CB4FCC
tetradic
#CCCB4F #4FCC8C #4F50CC #CC4F8E
square
#CCCB4F #4FCC8C #4F50CC #CC4F8E
split-complementary
#CCCB4F #4F8ECC #8C4FCC
monochromatic
#7D7C24 #ACAB32 #CCCB4F #DAD97E #E7E7AE

Accessibility & contrast

On white

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

On black

12.22
#CCCB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB4F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB4F#FFFFFF#000000##000000
##CCCB4F1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DCC857
Tritanopia (blue-blind)
#DABFB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb4f;
/* rgb */ color: rgb(204, 203, 79);
/* oklch */ color: oklch(82.0% 0.145 108.8);
Tailwind
colors: {
  custom: {
    50: '#deda86',
    500: '#cccb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cccb4f;
$custom-light: #deda86;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb4f",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 59.52,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81959,
    "c": 0.14457,
    "h": 108.8
  },
  "luminance": 0.56114
}

Semantic roles & 50–950 ramp

primary
#CCCB4F
secondary
#3B3B84
accent
#4BDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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