#CCCB47#CCCB47

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

Color values

HEX#CCCB47
RGBrgb(204, 203, 71)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0.5%, 65.2%, 20%)
CIE-LABlab(79.62, -15.65, 63.26)
CIE-LCHlch(79.62, 65.16, 103.89°)
OKLaboklab(81.89% -0.0487 0.1425)
OKLCHoklch(81.89% 0.151 108.9)
XYZxyz(47.3967, 56.0056, 14.2735)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB47 #4748CC
analogous
#CC8947 #CCCB47 #8BCC47
triadic
#CCCB47 #47CCCB #CB47CC
tetradic
#CCCB47 #47CC89 #4748CC #CC478B
square
#CCCB47 #47CC89 #4748CC #CC478B
split-complementary
#CCCB47 #478BCC #8947CC
monochromatic
#777721 #A7A62E #CCCB47 #D9D977 #E7E6A7

Accessibility & contrast

On white

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

On black

12.20
#CCCB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB47
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB47#FFFFFF#000000##000000
##CCCB471.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DDC750
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb47;
/* rgb */ color: rgb(204, 203, 71);
/* oklch */ color: oklch(81.9% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda81',
    500: '#cccb47',
    950: '#000000',
  },
}
SCSS
$custom: #cccb47;
$custom-light: #dfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb47",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 71
  },
  "hsl": {
    "h": 59.549,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8189,
    "c": 0.15057,
    "h": 108.9
  },
  "luminance": 0.56004
}

Semantic roles & 50–950 ramp

primary
#CCCB47
secondary
#373880
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB47

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

Preview Lab → · Contrast checker → · Palette generator →

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