#CCCB46#CCCB46

#CCCB46 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#CCCB46
RGBrgb(204, 203, 70)
HSLhsl(60, 57%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 65.7%, 20%)
CIE-LABlab(79.61, -15.70, 63.65)
CIE-LCHlch(79.61, 65.55, 103.86°)
OKLaboklab(81.88% -0.049 0.1431)
OKLCHoklch(81.88% 0.151 108.9)
XYZxyz(47.3649, 55.9928, 14.1058)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB46 #4647CC
analogous
#CC8846 #CCCB46 #8ACC46
triadic
#CCCB46 #46CCCB #CB46CC
tetradic
#CCCB46 #46CC88 #4647CC #CC468A
square
#CCCB46 #46CC88 #4647CC #CC468A
split-complementary
#CCCB46 #468ACC #8846CC
monochromatic
#777621 #A7A62E #CCCB46 #D9D876 #E6E6A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCCB46#FFFFFF#000000##000000
##CCCB461.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)
#DBC333
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#DABEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb46;
/* rgb */ color: rgb(204, 203, 70);
/* oklch */ color: oklch(81.9% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfda81',
    500: '#cccb46',
    950: '#000000',
  },
}
SCSS
$custom: #cccb46;
$custom-light: #dfda81;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb46",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 70
  },
  "hsl": {
    "h": 59.552,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81882,
    "c": 0.15128,
    "h": 108.9
  },
  "luminance": 0.55991
}

Semantic roles & 50–950 ramp

primary
#CCCB46
secondary
#37377F
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCCB46

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

Preview Lab → · Contrast checker → · Palette generator →

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