#CBB45B#CBB45B

#CBB45B is a light, moderate yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.113 H 95.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CBB45B
RGBrgb(203, 180, 91)
HSLhsl(48, 52%, 58%)
HSVhsv(48, 55%, 80%)
CMYKcmyk(0%, 11.3%, 55.2%, 20.4%)
CIE-LABlab(73.61, -2.88, 47.79)
CIE-LCHlch(73.61, 47.88, 93.45°)
OKLaboklab(77.15% -0.01 0.1121)
OKLCHoklch(77.15% 0.113 95.1)
XYZxyz(42.8398, 46.0963, 16.5364)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB45B #5B72CB
analogous
#CB7C5B #CBB45B #AACB5B
triadic
#CBB45B #5BCBB4 #B45BCB
tetradic
#CBB45B #5BCB7C #5B72CB #CB5BAA
square
#CBB45B #5BCB7C #5B72CB #CB5BAA
split-complementary
#CBB45B #5BAACB #7C5BCB
monochromatic
#827029 #B19838 #CBB45B #DAC989 #E8DFB8

Accessibility & contrast

On white

2.06
#CBB45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CBB45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB45B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB45B#FFFFFF#000000##000000
##CBB45B1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#CAB85F
Tritanopia (blue-blind)
#D9A8A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cbb45b;
/* rgb */ color: rgb(203, 180, 91);
/* oklch */ color: oklch(77.2% 0.113 95.1);
Tailwind
colors: {
  custom: {
    50: '#ddca8c',
    500: '#cbb45b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb45b;
$custom-light: #ddca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb45b",
  "rgb": {
    "r": 203,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 47.679,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77154,
    "c": 0.11258,
    "h": 95.1
  },
  "luminance": 0.46094
}

Semantic roles & 50–950 ramp

primary
#CBB45B
secondary
#AAB4D7
accent
#6ADB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB45B

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

Preview Lab → · Contrast checker → · Palette generator →

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