#CBCB36#CBCB36

#CBCB36 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.7% C 0.162 H 109.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#CBCB36
RGBrgb(203, 203, 54)
HSLhsl(60, 59%, 50%)
HSVhsv(60, 73%, 80%)
CMYKcmyk(0%, 0%, 73.4%, 20.4%)
CIE-LABlab(79.43, -16.92, 69.24)
CIE-LCHlch(79.43, 71.28, 103.73°)
OKLaboklab(81.69% -0.0539 0.1522)
OKLCHoklch(81.69% 0.162 109.5)
XYZxyz(46.6521, 55.6761, 11.7784)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB36 #3636CB
analogous
#CB8036 #CBCB36 #80CB36
triadic
#CBCB36 #36CBCB #CB36CB
tetradic
#CBCB36 #36CB80 #3636CB #CB3680
square
#CBCB36 #36CB80 #3636CB #CB3680
split-complementary
#CBCB36 #3680CB #8036CB
monochromatic
#6B6B1C #9C9C28 #CBCB36 #D8D867 #E4E497

Accessibility & contrast

On white

1.73
#CBCB36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#CBCB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB36
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB36#FFFFFF#000000##000000
##CBCB361.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC215
Deuteranopia (green-blind)
#DDC742
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb36;
/* rgb */ color: rgb(203, 203, 54);
/* oklch */ color: oklch(81.7% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfda78',
    500: '#cbcb36',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb36;
$custom-light: #dfda78;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb36",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81686,
    "c": 0.1615,
    "h": 109.5
  },
  "luminance": 0.55675
}

Semantic roles & 50–950 ramp

primary
#CBCB36
secondary
#313175
accent
#46E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBCB36

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

Preview Lab → · Contrast checker → · Palette generator →

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