#CBCC39#CBCC39

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

Color values

HEX#CBCC39
RGBrgb(203, 204, 57)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0.5%, 0%, 72.1%, 20%)
CIE-LABlab(79.72, -17.29, 68.50)
CIE-LCHlch(79.72, 70.65, 104.16°)
OKLaboklab(81.92% -0.0547 0.1512)
OKLCHoklch(81.92% 0.161 109.9)
XYZxyz(46.9617, 56.1790, 12.2400)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC39 #3A39CC
analogous
#CC8339 #CBCC39 #81CC39
triadic
#CBCC39 #39CBCC #CC39CB
tetradic
#CBCC39 #39CC83 #3A39CC #CC3981
square
#CBCC39 #39CC83 #3A39CC #CC3981
split-complementary
#CBCC39 #3981CC #8339CC
monochromatic
#6E6E1C #9E9F29 #CBCC39 #D8D96A #E5E59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC39#FFFFFF#000000##000000
##CBCC391.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)
#DCC31C
Deuteranopia (green-blind)
#DEC844
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc39;
/* rgb */ color: rgb(203, 204, 57);
/* oklch */ color: oklch(81.9% 0.161 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb7a',
    500: '#cbcc39',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc39;
$custom-light: #dfdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc39",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 60.408,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8192,
    "c": 0.16079,
    "h": 109.9
  },
  "luminance": 0.56178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCC39

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

Preview Lab → · Contrast checker → · Palette generator →

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