#CBCC33#CBCC33

#CBCC33 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.164 H 109.9°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CBCC33
RGBrgb(203, 204, 51)
HSLhsl(60, 60%, 50%)
HSVhsv(60, 75%, 80%)
CMYKcmyk(0.5%, 0%, 75%, 20%)
CIE-LABlab(79.68, -17.54, 70.44)
CIE-LCHlch(79.68, 72.59, 103.99°)
OKLaboklab(81.88% -0.0559 0.1543)
OKLCHoklch(81.88% 0.164 109.9)
XYZxyz(46.8207, 56.1226, 11.4977)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC33 #3433CC
analogous
#CC8033 #CBCC33 #7FCC33
triadic
#CBCC33 #33CBCC #CC33CB
tetradic
#CBCC33 #33CC80 #3433CC #CC337F
square
#CBCC33 #33CC80 #3433CC #CC337F
split-complementary
#CBCC33 #337FCC #8033CC
monochromatic
#6A6A1B #9A9B27 #CBCC33 #D7D864 #E4E495

Accessibility & contrast

On white

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

On black

12.22
#CBCC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC33
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC33#FFFFFF#000000##000000
##CBCC331.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC30B
Deuteranopia (green-blind)
#DEC840
Tritanopia (blue-blind)
#DABFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcc33;
/* rgb */ color: rgb(203, 204, 51);
/* oklch */ color: oklch(81.9% 0.164 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb77',
    500: '#cbcc33',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc33;
$custom-light: #dfdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc33",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 51
  },
  "hsl": {
    "h": 60.392,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.81884,
    "c": 0.16408,
    "h": 109.9
  },
  "luminance": 0.56121
}

Semantic roles & 50–950 ramp

primary
#CBCC33
secondary
#302F74
accent
#45E346
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBCC33

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

Preview Lab → · Contrast checker → · Palette generator →

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