#CBB959#CBB959

#CBB959 is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.2% C 0.119 H 98.8°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CBB959
RGBrgb(203, 185, 89)
HSLhsl(51, 52%, 57%)
HSVhsv(51, 56%, 80%)
CMYKcmyk(0%, 8.9%, 56.2%, 20.4%)
CIE-LABlab(74.90, -5.66, 50.24)
CIE-LCHlch(74.90, 50.56, 96.42°)
OKLaboklab(78.17% -0.0182 0.1172)
OKLCHoklch(78.17% 0.119 98.8)
XYZxyz(43.7823, 48.1175, 16.4306)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB959 #596BCB
analogous
#CB8059 #CBB959 #A4CB59
triadic
#CBB959 #59CBB9 #B959CB
tetradic
#CBB959 #59CB80 #596BCB #CB59A4
square
#CBB959 #59CB80 #596BCB #CB59A4
split-complementary
#CBB959 #59A4CB #8059CB
monochromatic
#817328 #B09D37 #CBB959 #DACD88 #E8E0B6

Accessibility & contrast

On white

1.98
#CBB959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CBB959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB959
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB959#FFFFFF#000000##000000
##CBB9591.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B550
Deuteranopia (green-blind)
#CEBB5D
Tritanopia (blue-blind)
#D9ADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb959;
/* rgb */ color: rgb(203, 185, 89);
/* oklch */ color: oklch(78.2% 0.119 98.8);
Tailwind
colors: {
  custom: {
    50: '#ddcd8b',
    500: '#cbb959',
    950: '#000000',
  },
}
SCSS
$custom: #cbb959;
$custom-light: #ddcd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb959",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 89
  },
  "hsl": {
    "h": 50.526,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78169,
    "c": 0.11864,
    "h": 98.8
  },
  "luminance": 0.48116
}

Semantic roles & 50–950 ramp

primary
#CBB959
secondary
#A9B0D7
accent
#63DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB959

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

Preview Lab → · Contrast checker → · Palette generator →

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