#CBCC3C#CBCC3C

#CBCC3C is a light, vivid yellow. Relative luminance 0.562; OKLCH L 81.9% C 0.159 H 109.8°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CBCC3C
RGBrgb(203, 204, 60)
HSLhsl(60, 59%, 52%)
HSVhsv(60, 71%, 80%)
CMYKcmyk(0.5%, 0%, 70.6%, 20%)
CIE-LABlab(79.73, -17.15, 67.48)
CIE-LCHlch(79.73, 69.62, 104.26°)
OKLaboklab(81.94% -0.054 0.1496)
OKLCHoklch(81.94% 0.159 109.8)
XYZxyz(47.0387, 56.2098, 12.6458)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC3C #3D3CCC
analogous
#CC853C #CBCC3C #83CC3C
triadic
#CBCC3C #3CCBCC #CC3CCB
tetradic
#CBCC3C #3CCC85 #3D3CCC #CC3C83
square
#CBCC3C #3CCC85 #3D3CCC #CC3C83
split-complementary
#CBCC3C #3C83CC #853CCC
monochromatic
#70701D #A0A12A #CBCC3C #D8D96D #E5E59D

Accessibility & contrast

On white

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

On black

12.24
#CBCC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC3C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC3C#FFFFFF#000000##000000
##CBCC3C1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC322
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc3c;
/* rgb */ color: rgb(203, 204, 60);
/* oklch */ color: oklch(81.9% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#dedb7b',
    500: '#cbcc3c',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc3c;
$custom-light: #dedb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc3c",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 60.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.8194,
    "c": 0.15902,
    "h": 109.8
  },
  "luminance": 0.56208
}

Semantic roles & 50–950 ramp

primary
#CBCC3C
secondary
#333379
accent
#46E247
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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