#CBCA97#CBCA97

#CBCA97 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.068 H 106.9°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#CBCA97
RGBrgb(203, 202, 151)
HSLhsl(59, 33%, 69%)
HSVhsv(59, 26%, 80%)
CMYKcmyk(0%, 0.5%, 25.6%, 20.4%)
CIE-LABlab(80.28, -7.80, 25.67)
CIE-LCHlch(80.28, 26.83, 106.89°)
OKLaboklab(82.72% -0.0196 0.0647)
OKLCHoklch(82.72% 0.068 106.9)
XYZxyz(51.3351, 57.1727, 37.6033)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA97 #9798CB
analogous
#CBB097 #CBCA97 #B2CB97
triadic
#CBCA97 #97CBCA #CA97CB
tetradic
#CBCA97 #97CBB0 #9798CB #CB97B2
square
#CBCA97 #97CBB0 #9798CB #CB97B2
split-complementary
#CBCA97 #97B2CB #B097CB
monochromatic
#9A994D #B7B56E #CBCA97 #DFDFC0 #F4F4E9

Accessibility & contrast

On white

1.69
#CBCA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#CBCA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA97
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA97#FFFFFF#000000##000000
##CBCA971.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C694
Deuteranopia (green-blind)
#D4C899
Tritanopia (blue-blind)
#D3C3BC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbca97;
/* rgb */ color: rgb(203, 202, 151);
/* oklch */ color: oklch(82.7% 0.068 106.9);
Tailwind
colors: {
  custom: {
    50: '#dbdab6',
    500: '#cbca97',
    950: '#000000',
  },
}
SCSS
$custom: #cbca97;
$custom-light: #dbdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca97",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 151
  },
  "hsl": {
    "h": 58.846,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.06764,
    "h": 106.9
  },
  "luminance": 0.57172
}

Semantic roles & 50–950 ramp

primary
#CBCA97
secondary
#6667A0
accent
#3CAC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CBCA97

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

Preview Lab → · Contrast checker → · Palette generator →

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