#CBCB39#CBCB39

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

Color values

HEX#CBCB39
RGBrgb(203, 203, 57)
HSLhsl(60, 58%, 51%)
HSVhsv(60, 72%, 80%)
CMYKcmyk(0%, 0%, 71.9%, 20.4%)
CIE-LABlab(79.45, -16.79, 68.25)
CIE-LCHlch(79.45, 70.28, 103.82°)
OKLaboklab(81.7% -0.0533 0.1507)
OKLCHoklch(81.7% 0.16 109.5)
XYZxyz(46.7247, 55.7052, 12.1610)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB39 #3939CB
analogous
#CB8239 #CBCB39 #82CB39
triadic
#CBCB39 #39CBCB #CB39CB
tetradic
#CBCB39 #39CB82 #3939CB #CB3982
square
#CBCB39 #39CB82 #3939CB #CB3982
split-complementary
#CBCB39 #3982CB #8239CB
monochromatic
#6D6D1D #9D9D29 #CBCB39 #D8D869 #E4E49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCB39#FFFFFF#000000##000000
##CBCB391.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)
#DBC21D
Deuteranopia (green-blind)
#DDC744
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb39;
/* rgb */ color: rgb(203, 203, 57);
/* oklch */ color: oklch(81.7% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#dfda7a',
    500: '#cbcb39',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb39;
$custom-light: #dfda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb39",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81704,
    "c": 0.15981,
    "h": 109.5
  },
  "luminance": 0.55704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCB39

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

Preview Lab → · Contrast checker → · Palette generator →

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