#CBCC37#CBCC37

#CBCC37 is a light, vivid yellow. Relative luminance 0.562; 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#CBCC37
RGBrgb(203, 204, 55)
HSLhsl(60, 59%, 51%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0.5%, 0%, 73%, 20%)
CIE-LABlab(79.70, -17.38, 69.17)
CIE-LCHlch(79.70, 71.31, 104.10°)
OKLaboklab(81.91% -0.0551 0.1523)
OKLCHoklch(81.91% 0.162 109.9)
XYZxyz(46.9127, 56.1594, 11.9823)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC37 #3837CC
analogous
#CC8237 #CBCC37 #80CC37
triadic
#CBCC37 #37CBCC #CC37CB
tetradic
#CBCC37 #37CC82 #3837CC #CC3780
square
#CBCC37 #37CC82 #3837CC #CC3780
split-complementary
#CBCC37 #3780CC #8237CC
monochromatic
#6C6D1C #9D9E28 #CBCC37 #D8D868 #E4E599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC37#FFFFFF#000000##000000
##CBCC371.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)
#DCC317
Deuteranopia (green-blind)
#DEC843
Tritanopia (blue-blind)
#D9BFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc37;
/* rgb */ color: rgb(203, 204, 55);
/* oklch */ color: oklch(81.9% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb79',
    500: '#cbcc37',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc37;
$custom-light: #dfdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc37",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 60.403,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.16193,
    "h": 109.9
  },
  "luminance": 0.56158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCC37

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

Preview Lab → · Contrast checker → · Palette generator →

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