#CCCB37#CCCB37

#CCCB37 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.8% C 0.161 H 109.1°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CCCB37
RGBrgb(204, 203, 55)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0%, 0.5%, 73%, 20%)
CIE-LABlab(79.52, -16.46, 69.02)
CIE-LCHlch(79.52, 70.95, 103.41°)
OKLaboklab(81.78% -0.0526 0.1519)
OKLCHoklch(81.78% 0.161 109.1)
XYZxyz(46.9491, 55.8265, 11.9162)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB37 #3738CC
analogous
#CC8037 #CCCB37 #82CC37
triadic
#CCCB37 #37CCCB #CB37CC
tetradic
#CCCB37 #37CC80 #3738CC #CC3782
square
#CCCB37 #37CC80 #3738CC #CC3782
split-complementary
#CCCB37 #3782CC #8037CC
monochromatic
#6D6C1C #9E9D28 #CCCB37 #D8D868 #E5E499

Accessibility & contrast

On white

1.73
#CCCB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CCCB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB37
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB37#FFFFFF#000000##000000
##CCCB371.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC218
Deuteranopia (green-blind)
#DEC743
Tritanopia (blue-blind)
#DBBEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb37;
/* rgb */ color: rgb(204, 203, 55);
/* oklch */ color: oklch(81.8% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfda79',
    500: '#cccb37',
    950: '#000000',
  },
}
SCSS
$custom: #cccb37;
$custom-light: #dfda79;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb37",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 59.597,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.16075,
    "h": 109.1
  },
  "luminance": 0.55825
}

Semantic roles & 50–950 ramp

primary
#CCCB37
secondary
#313176
accent
#46E345
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCB37

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

Preview Lab → · Contrast checker → · Palette generator →

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