#CBCC97#CBCC97

#CBCC97 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.070 H 108.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CBCC97
RGBrgb(203, 204, 151)
HSLhsl(61, 34%, 70%)
HSVhsv(61, 26%, 80%)
CMYKcmyk(0.5%, 0%, 26%, 20%)
CIE-LABlab(80.80, -8.83, 26.39)
CIE-LCHlch(80.80, 27.82, 108.49°)
OKLaboklab(83.14% -0.0225 0.0665)
OKLCHoklch(83.14% 0.07 108.7)
XYZxyz(51.8074, 58.1173, 37.7607)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC97 #9897CC
analogous
#CCB397 #CBCC97 #B1CC97
triadic
#CBCC97 #97CBCC #CC97CB
tetradic
#CBCC97 #97CCB3 #9897CC #CC97B1
square
#CBCC97 #97CCB3 #9897CC #CC97B1
split-complementary
#CBCC97 #97B1CC #B397CC
monochromatic
#9B9C4D #B6B86E #CBCC97 #E0E0C0 #F4F4E9

Accessibility & contrast

On white

1.66
#CBCC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CBCC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC97
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC97#FFFFFF#000000##000000
##CBCC971.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C794
Deuteranopia (green-blind)
#D5CA99
Tritanopia (blue-blind)
#D3C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcc97;
/* rgb */ color: rgb(203, 204, 151);
/* oklch */ color: oklch(83.1% 0.070 108.7);
Tailwind
colors: {
  custom: {
    50: '#dbdbb6',
    500: '#cbcc97',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc97;
$custom-light: #dbdbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc97",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 61.132,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83139,
    "c": 0.07018,
    "h": 108.7
  },
  "luminance": 0.58117
}

Semantic roles & 50–950 ramp

primary
#CBCC97
secondary
#6766A1
accent
#38AD3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCC97

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

Preview Lab → · Contrast checker → · Palette generator →

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