#CCCB3D#CCCB3D

#CCCB3D is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.8% C 0.157 H 109.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CCCB3D
RGBrgb(204, 203, 61)
HSLhsl(60, 58%, 52%)
HSVhsv(60, 70%, 80%)
CMYKcmyk(0%, 0.5%, 70.1%, 20%)
CIE-LABlab(79.55, -16.18, 66.97)
CIE-LCHlch(79.55, 68.90, 103.58°)
OKLaboklab(81.82% -0.0512 0.1486)
OKLCHoklch(81.82% 0.157 109)
XYZxyz(47.1018, 55.8876, 12.7202)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB3D #3D3ECC
analogous
#CC833D #CCCB3D #86CC3D
triadic
#CCCB3D #3DCCCB #CB3DCC
tetradic
#CCCB3D #3DCC83 #3D3ECC #CC3D86
square
#CCCB3D #3DCC83 #3D3ECC #CC3D86
split-complementary
#CCCB3D #3D86CC #833DCC
monochromatic
#71701E #A1A12A #CCCB3D #D9D86D #E5E59E

Accessibility & contrast

On white

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

On black

12.18
#CCCB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB3D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB3D#FFFFFF#000000##000000
##CCCB3D1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC324
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#DABEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cccb3d;
/* rgb */ color: rgb(204, 203, 61);
/* oklch */ color: oklch(81.8% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#dfda7c',
    500: '#cccb3d',
    950: '#000000',
  },
}
SCSS
$custom: #cccb3d;
$custom-light: #dfda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb3d",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 61
  },
  "hsl": {
    "h": 59.58,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81815,
    "c": 0.15722,
    "h": 109
  },
  "luminance": 0.55886
}

Semantic roles & 50–950 ramp

primary
#CCCB3D
secondary
#33347A
accent
#47E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CCCB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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