#CBCC36#CBCC36

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

Color values

HEX#CBCC36
RGBrgb(203, 204, 54)
HSLhsl(60, 60%, 51%)
HSVhsv(60, 74%, 80%)
CMYKcmyk(0.5%, 0%, 73.5%, 20%)
CIE-LABlab(79.70, -17.42, 69.49)
CIE-LCHlch(79.70, 71.64, 104.07°)
OKLaboklab(81.9% -0.0553 0.1528)
OKLCHoklch(81.9% 0.162 109.9)
XYZxyz(46.8890, 56.1500, 11.8574)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC36 #3736CC
analogous
#CC8236 #CBCC36 #80CC36
triadic
#CBCC36 #36CBCC #CC36CB
tetradic
#CBCC36 #36CC82 #3736CC #CC3680
square
#CBCC36 #36CC82 #3736CC #CC3680
split-complementary
#CBCC36 #3680CC #8236CC
monochromatic
#6C6C1B #9C9D28 #CBCC36 #D8D867 #E4E598

Accessibility & contrast

On white

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

On black

12.23
#CBCC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC36
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC36#FFFFFF#000000##000000
##CBCC361.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC315
Deuteranopia (green-blind)
#DEC842
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcc36;
/* rgb */ color: rgb(203, 204, 54);
/* oklch */ color: oklch(81.9% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb78',
    500: '#cbcc36',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc36;
$custom-light: #dfdb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc36",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 54
  },
  "hsl": {
    "h": 60.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81901,
    "c": 0.16248,
    "h": 109.9
  },
  "luminance": 0.56149
}

Semantic roles & 50–950 ramp

primary
#CBCC36
secondary
#313076
accent
#45E346
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCC36

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

Preview Lab → · Contrast checker → · Palette generator →

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