#CBC97B#CBC97B

#CBC97B is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.0% C 0.100 H 107.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CBC97B
RGBrgb(203, 201, 123)
HSLhsl(59, 43%, 64%)
HSVhsv(59, 39%, 80%)
CMYKcmyk(0%, 1%, 39.4%, 20.4%)
CIE-LABlab(79.56, -10.72, 39.20)
CIE-LCHlch(79.56, 40.64, 105.29°)
OKLaboklab(82% -0.0294 0.0955)
OKLCHoklch(82% 0.1 107.1)
XYZxyz(49.0911, 55.9009, 26.9390)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC97B #7B7DCB
analogous
#CBA17B #CBC97B #A5CB7B
triadic
#CBC97B #7BCBC9 #C97BCB
tetradic
#CBC97B #7BCBA1 #7B7DCB #CB7BA5
square
#CBC97B #7BCBA1 #7B7DCB #CB7BA5
split-complementary
#CBC97B #7BA5CB #A17BCB
monochromatic
#92903A #BAB74F #CBC97B #DCDBA7 #EEEDD3

Accessibility & contrast

On white

1.72
#CBC97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CBC97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC97B
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC97B#FFFFFF#000000##000000
##CBC97B1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C375
Deuteranopia (green-blind)
#D7C77E
Tritanopia (blue-blind)
#D6C0B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc97b;
/* rgb */ color: rgb(203, 201, 123);
/* oklch */ color: oklch(82.0% 0.100 107.1);
Tailwind
colors: {
  custom: {
    50: '#dcd9a2',
    500: '#cbc97b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc97b;
$custom-light: #dcd9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc97b",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 123
  },
  "hsl": {
    "h": 58.5,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82002,
    "c": 0.09991,
    "h": 107.1
  },
  "luminance": 0.559
}

Semantic roles & 50–950 ramp

primary
#CBC97B
secondary
#515399
accent
#32B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC97B

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

Preview Lab → · Contrast checker → · Palette generator →

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