#CBB962#CBB962

#CBB962 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.110 H 97.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CBB962
RGBrgb(203, 185, 98)
HSLhsl(50, 50%, 59%)
HSVhsv(50, 52%, 80%)
CMYKcmyk(0%, 8.9%, 51.7%, 20.4%)
CIE-LABlab(75.00, -4.91, 46.04)
CIE-LCHlch(75.00, 46.30, 96.09°)
OKLaboklab(78.28% -0.0151 0.109)
OKLCHoklch(78.28% 0.11 97.9)
XYZxyz(44.1836, 48.2780, 18.5441)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB962 #6274CB
analogous
#CB8562 #CBB962 #A9CB62
triadic
#CBB962 #62CBB9 #B962CB
tetradic
#CBB962 #62CB85 #6274CB #CB62A9
square
#CBB962 #62CB85 #6274CB #CB62A9
split-complementary
#CBB962 #62A9CB #8562CB
monochromatic
#86772C #B49F3C #CBB962 #DACD90 #E9E2BE

Accessibility & contrast

On white

1.97
#CBB962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CBB962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB962
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB962#FFFFFF#000000##000000
##CBB9621.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CDBB66
Tritanopia (blue-blind)
#D9AEA5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbb962;
/* rgb */ color: rgb(203, 185, 98);
/* oklch */ color: oklch(78.3% 0.110 97.9);
Tailwind
colors: {
  custom: {
    50: '#ddcd91',
    500: '#cbb962',
    950: '#000000',
  },
}
SCSS
$custom: #cbb962;
$custom-light: #ddcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb962",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 98
  },
  "hsl": {
    "h": 49.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78281,
    "c": 0.11003,
    "h": 97.9
  },
  "luminance": 0.48276
}

Semantic roles & 50–950 ramp

primary
#CBB962
secondary
#B0B7D9
accent
#66DA4E
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CBB962

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

Preview Lab → · Contrast checker → · Palette generator →

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