#CBCD97#CBCD97

#CBCD97 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.071 H 109.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CBCD97
RGBrgb(203, 205, 151)
HSLhsl(62, 35%, 70%)
HSVhsv(62, 26%, 80%)
CMYKcmyk(1%, 0%, 26.3%, 19.6%)
CIE-LABlab(81.07, -9.34, 26.74)
CIE-LCHlch(81.07, 28.33, 109.25°)
OKLaboklab(83.35% -0.024 0.0673)
OKLCHoklch(83.35% 0.071 109.6)
XYZxyz(52.0458, 58.5942, 37.8402)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCD97 #9997CD
analogous
#CDB497 #CBCD97 #B0CD97
triadic
#CBCD97 #97CBCD #CD97CB
tetradic
#CBCD97 #97CDB4 #9997CD #CD97B0
square
#CBCD97 #97CDB4 #9997CD #CD97B0
split-complementary
#CBCD97 #97B0CD #B497CD
monochromatic
#9B9E4C #B6B96E #CBCD97 #E0E1C0 #F4F5EA

Accessibility & contrast

On white

1.65
#CBCD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CBCD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCD97
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCD97#FFFFFF#000000##000000
##CBCD971.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C893
Deuteranopia (green-blind)
#D6CA99
Tritanopia (blue-blind)
#D2C6BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbcd97;
/* rgb */ color: rgb(203, 205, 151);
/* oklch */ color: oklch(83.3% 0.071 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbdcb6',
    500: '#cbcd97',
    950: '#000000',
  },
}
SCSS
$custom: #cbcd97;
$custom-light: #dbdcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcd97",
  "rgb": {
    "r": 203,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 62.222,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83348,
    "c": 0.07146,
    "h": 109.6
  },
  "luminance": 0.58594
}

Semantic roles & 50–950 ramp

primary
#CBCD97
secondary
#6866A2
accent
#38AE3C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CBCD97

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

Preview Lab → · Contrast checker → · Palette generator →

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