#CBB95F#CBB95F

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

Color values

HEX#CBB95F
RGBrgb(203, 185, 95)
HSLhsl(50, 51%, 58%)
HSVhsv(50, 53%, 80%)
CMYKcmyk(0%, 8.9%, 53.2%, 20.4%)
CIE-LABlab(74.97, -5.17, 47.45)
CIE-LCHlch(74.97, 47.73, 96.22°)
OKLaboklab(78.24% -0.0162 0.1118)
OKLCHoklch(78.24% 0.113 98.2)
XYZxyz(44.0446, 48.2224, 17.8121)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB95F #5F71CB
analogous
#CB835F #CBB95F #A7CB5F
triadic
#CBB95F #5FCBB9 #B95FCB
tetradic
#CBB95F #5FCB83 #5F71CB #CB5FA7
square
#CBB95F #5FCB83 #5F71CB #CB5FA7
split-complementary
#CBB95F #5FA7CB #835FCB
monochromatic
#85762B #B39F3A #CBB95F #DACD8D #E9E1BB

Accessibility & contrast

On white

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

On black

10.64
#CBB95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB95F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB95F#FFFFFF#000000##000000
##CBB95F1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#CDBB63
Tritanopia (blue-blind)
#D9AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb95f;
/* rgb */ color: rgb(203, 185, 95);
/* oklch */ color: oklch(78.2% 0.113 98.2);
Tailwind
colors: {
  custom: {
    50: '#ddcd8f',
    500: '#cbb95f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb95f;
$custom-light: #ddcd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb95f",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 95
  },
  "hsl": {
    "h": 50,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78242,
    "c": 0.11296,
    "h": 98.2
  },
  "luminance": 0.48221
}

Semantic roles & 50–950 ramp

primary
#CBB95F
secondary
#ADB5D8
accent
#65DA4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB95F

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

Preview Lab → · Contrast checker → · Palette generator →

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