#CBB95C#CBB95C

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

Color values

HEX#CBB95C
RGBrgb(203, 185, 92)
HSLhsl(50, 52%, 58%)
HSVhsv(50, 55%, 80%)
CMYKcmyk(0%, 8.9%, 54.7%, 20.4%)
CIE-LABlab(74.93, -5.42, 48.86)
CIE-LCHlch(74.93, 49.16, 96.33°)
OKLaboklab(78.21% -0.0172 0.1146)
OKLCHoklch(78.21% 0.116 98.5)
XYZxyz(43.9109, 48.1689, 17.1077)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB95C #5C6ECB
analogous
#CB815C #CBB95C #A6CB5C
triadic
#CBB95C #5CCBB9 #B95CCB
tetradic
#CBB95C #5CCB81 #5C6ECB #CB5CA6
square
#CBB95C #5CCB81 #5C6ECB #CB5CA6
split-complementary
#CBB95C #5CA6CB #815CCB
monochromatic
#83742A #B19E39 #CBB95C #DACD8A #E9E1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB95C#FFFFFF#000000##000000
##CBB95C1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb95c;
/* rgb */ color: rgb(203, 185, 92);
/* oklch */ color: oklch(78.2% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#ddcd8d',
    500: '#cbb95c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb95c;
$custom-light: #ddcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb95c",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 50.27,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78205,
    "c": 0.11584,
    "h": 98.5
  },
  "luminance": 0.48167
}

Semantic roles & 50–950 ramp

primary
#CBB95C
secondary
#ABB2D8
accent
#64DB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB95C

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

Preview Lab → · Contrast checker → · Palette generator →

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