#CBCC5B#CBCC5B

#CBCC5B is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.2% C 0.136 H 109.5°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CBCC5B
RGBrgb(203, 204, 91)
HSLhsl(61, 53%, 58%)
HSVhsv(61, 55%, 80%)
CMYKcmyk(0.5%, 0%, 55.4%, 20%)
CIE-LABlab(79.98, -15.21, 55.12)
CIE-LCHlch(79.98, 57.18, 105.43°)
OKLaboklab(82.21% -0.0453 0.1279)
OKLCHoklch(82.21% 0.136 109.5)
XYZxyz(48.1111, 56.6388, 18.2935)
Luminance0.5664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC5B #5C5BCC
analogous
#CC945B #CBCC5B #92CC5B
triadic
#CBCC5B #5BCBCC #CC5BCB
tetradic
#CBCC5B #5BCC94 #5C5BCC #CC5B92
square
#CBCC5B #5BCC94 #5C5BCC #CC5B92
split-complementary
#CBCC5B #5B92CC #945BCC
monochromatic
#838429 #B1B237 #CBCC5B #DADB8A #E9E9B8

Accessibility & contrast

On white

1.70
#CBCC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CBCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC5B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC5B#FFFFFF#000000##000000
##CBCC5B1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44F
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#D8C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcc5b;
/* rgb */ color: rgb(203, 204, 91);
/* oklch */ color: oklch(82.2% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#dddb8d',
    500: '#cbcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc5b;
$custom-light: #dddb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc5b",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 60.531,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82211,
    "c": 0.13571,
    "h": 109.5
  },
  "luminance": 0.56638
}

Semantic roles & 50–950 ramp

primary
#CBCC5B
secondary
#41408B
accent
#4CDC4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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