#CBB55B#CBB55B

#CBB55B is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.113 H 95.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CBB55B
RGBrgb(203, 181, 91)
HSLhsl(48, 52%, 58%)
HSVhsv(48, 55%, 80%)
CMYKcmyk(0%, 10.8%, 55.2%, 20.4%)
CIE-LABlab(73.87, -3.41, 48.10)
CIE-LCHlch(73.87, 48.22, 94.05°)
OKLaboklab(77.36% -0.0115 0.1128)
OKLCHoklch(77.36% 0.113 95.8)
XYZxyz(43.0424, 46.5015, 16.6040)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB55B #5B71CB
analogous
#CB7D5B #CBB55B #A9CB5B
triadic
#CBB55B #5BCBB5 #B55BCB
tetradic
#CBB55B #5BCB7D #5B71CB #CB5BA9
square
#CBB55B #5BCB7D #5B71CB #CB5BA9
split-complementary
#CBB55B #5BA9CB #7D5BCB
monochromatic
#827129 #B19938 #CBB55B #DACA89 #E8DFB8

Accessibility & contrast

On white

2.04
#CBB55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CBB55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB55B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB55B#FFFFFF#000000##000000
##CBB55B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B153
Deuteranopia (green-blind)
#CAB95F
Tritanopia (blue-blind)
#D9A9A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cbb55b;
/* rgb */ color: rgb(203, 181, 91);
/* oklch */ color: oklch(77.4% 0.113 95.8);
Tailwind
colors: {
  custom: {
    50: '#ddca8c',
    500: '#cbb55b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb55b;
$custom-light: #ddca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb55b",
  "rgb": {
    "r": 203,
    "g": 181,
    "b": 91
  },
  "hsl": {
    "h": 48.214,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77361,
    "c": 0.11339,
    "h": 95.8
  },
  "luminance": 0.465
}

Semantic roles & 50–950 ramp

primary
#CBB55B
secondary
#AAB3D7
accent
#69DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB55B

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

Preview Lab → · Contrast checker → · Palette generator →

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