#CBCB95#CBCB95

#CBCB95 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.071 H 107.9°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CBCB95
RGBrgb(203, 203, 149)
HSLhsl(60, 34%, 69%)
HSVhsv(60, 27%, 80%)
CMYKcmyk(0%, 0%, 26.6%, 20.4%)
CIE-LABlab(80.50, -8.58, 27.03)
CIE-LCHlch(80.50, 28.36, 107.61°)
OKLaboklab(82.89% -0.0219 0.068)
OKLCHoklch(82.89% 0.071 107.9)
XYZxyz(51.4094, 57.5791, 36.8336)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB95 #9595CB
analogous
#CBB095 #CBCB95 #B0CB95
triadic
#CBCB95 #95CBCB #CB95CB
tetradic
#CBCB95 #95CBB0 #9595CB #CB95B0
square
#CBCB95 #95CBB0 #9595CB #CB95B0
split-complementary
#CBCB95 #95B0CB #B095CB
monochromatic
#9A9A4C #B7B76C #CBCB95 #DFDFBE #F3F3E7

Accessibility & contrast

On white

1.68
#CBCB95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#CBCB95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB95
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB95#FFFFFF#000000##000000
##CBCB951.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C691
Deuteranopia (green-blind)
#D5C997
Tritanopia (blue-blind)
#D3C4BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cbcb95;
/* rgb */ color: rgb(203, 203, 149);
/* oklch */ color: oklch(82.9% 0.071 107.9);
Tailwind
colors: {
  custom: {
    50: '#dbdab4',
    500: '#cbcb95',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb95;
$custom-light: #dbdab4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb95",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 149
  },
  "hsl": {
    "h": 60,
    "s": 34.177,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8289,
    "c": 0.0714,
    "h": 107.9
  },
  "luminance": 0.57578
}

Semantic roles & 50–950 ramp

primary
#CBCB95
secondary
#6464A0
accent
#39AD39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CBCB95

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

Preview Lab → · Contrast checker → · Palette generator →

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