#CBC97A#CBC97A

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

Color values

HEX#CBC97A
RGBrgb(203, 201, 122)
HSLhsl(59, 44%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 1%, 39.9%, 20.4%)
CIE-LABlab(79.54, -10.83, 39.69)
CIE-LCHlch(79.54, 41.14, 105.26°)
OKLaboklab(81.99% -0.0298 0.0965)
OKLCHoklch(81.99% 0.101 107.2)
XYZxyz(49.0289, 55.8760, 26.6110)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC97A #7A7CCB
analogous
#CBA07A #CBC97A #A4CB7A
triadic
#CBC97A #7ACBC9 #C97ACB
tetradic
#CBC97A #7ACBA0 #7A7CCB #CB7AA4
square
#CBC97A #7ACBA0 #7A7CCB #CB7AA4
split-complementary
#CBC97A #7AA4CB #A07ACB
monochromatic
#928F39 #BAB74E #CBC97A #DCDBA6 #EDEDD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC97A#FFFFFF#000000##000000
##CBC97A1.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)
#D5C374
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#D6C0B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc97a;
/* rgb */ color: rgb(203, 201, 122);
/* oklch */ color: oklch(82.0% 0.101 107.2);
Tailwind
colors: {
  custom: {
    50: '#dcd9a1',
    500: '#cbc97a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc97a;
$custom-light: #dcd9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc97a",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 58.519,
    "s": 43.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81986,
    "c": 0.10102,
    "h": 107.2
  },
  "luminance": 0.55875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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