#CBB95B#CBB95B

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

Color values

HEX#CBB95B
RGBrgb(203, 185, 91)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 8.9%, 55.2%, 20.4%)
CIE-LABlab(74.92, -5.50, 49.32)
CIE-LCHlch(74.92, 49.63, 96.36°)
OKLaboklab(78.19% -0.0176 0.1155)
OKLCHoklch(78.19% 0.117 98.7)
XYZxyz(43.8674, 48.1515, 16.8790)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB95B #5B6DCB
analogous
#CB815B #CBB95B #A5CB5B
triadic
#CBB95B #5BCBB9 #B95BCB
tetradic
#CBB95B #5BCB81 #5B6DCB #CB5BA5
square
#CBB95B #5BCB81 #5B6DCB #CB5BA5
split-complementary
#CBB95B #5BA5CB #815BCB
monochromatic
#827429 #B19D38 #CBB95B #DACD89 #E8E1B8

Accessibility & contrast

On white

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

On black

10.63
#CBB95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB95B
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB95B#FFFFFF#000000##000000
##CBB95B1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B552
Deuteranopia (green-blind)
#CDBB5F
Tritanopia (blue-blind)
#D9ADA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb95b;
/* rgb */ color: rgb(203, 185, 91);
/* oklch */ color: oklch(78.2% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddcd8c',
    500: '#cbb95b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb95b;
$custom-light: #ddcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb95b",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 50.357,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.11678,
    "h": 98.7
  },
  "luminance": 0.4815
}

Semantic roles & 50–950 ramp

primary
#CBB95B
secondary
#AAB2D7
accent
#63DB4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB95B

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

Preview Lab → · Contrast checker → · Palette generator →

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