#CBCB23#CBCB23

#CBCB23 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.6% C 0.170 H 109.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CBCB23
RGBrgb(203, 203, 35)
HSLhsl(60, 71%, 47%)
HSVhsv(60, 83%, 80%)
CMYKcmyk(0%, 0%, 82.8%, 20.4%)
CIE-LABlab(79.35, -17.59, 74.55)
CIE-LCHlch(79.35, 76.59, 103.28°)
OKLaboklab(81.59% -0.0572 0.1603)
OKLCHoklch(81.59% 0.17 109.6)
XYZxyz(46.2897, 55.5312, 9.8700)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB23 #2323CB
analogous
#CB7723 #CBCB23 #77CB23
triadic
#CBCB23 #23CBCB #CB23CB
tetradic
#CBCB23 #23CB77 #2323CB #CB2377
square
#CBCB23 #23CB77 #2323CB #CB2377
split-complementary
#CBCB23 #2377CB #7723CB
monochromatic
#636311 #97971A #CBCB23 #E0E04B #E9E97F

Accessibility & contrast

On white

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

On black

12.11
#CBCB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB23
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB23#FFFFFF#000000##000000
##CBCB231.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC200
Deuteranopia (green-blind)
#DEC734
Tritanopia (blue-blind)
#DABDAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb23;
/* rgb */ color: rgb(203, 203, 35);
/* oklch */ color: oklch(81.6% 0.170 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfda70',
    500: '#cbcb23',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb23;
$custom-light: #dfda70;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb23",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 70.588,
    "l": 46.667
  },
  "oklch": {
    "l": 0.81593,
    "c": 0.17017,
    "h": 109.6
  },
  "luminance": 0.5553
}

Semantic roles & 50–950 ramp

primary
#CBCB23
secondary
#25256D
accent
#3AED3A
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CBCB23

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

Preview Lab → · Contrast checker → · Palette generator →

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