#CBB45C#CBB45C

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

Color values

HEX#CBB45C
RGBrgb(203, 180, 92)
HSLhsl(48, 52%, 58%)
HSVhsv(48, 55%, 80%)
CMYKcmyk(0%, 11.3%, 54.7%, 20.4%)
CIE-LABlab(73.62, -2.80, 47.32)
CIE-LCHlch(73.62, 47.40, 93.39°)
OKLaboklab(77.17% -0.0097 0.1112)
OKLCHoklch(77.17% 0.112 95)
XYZxyz(42.8832, 46.1136, 16.7651)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB45C #5C73CB
analogous
#CB7D5C #CBB45C #AACB5C
triadic
#CBB45C #5CCBB4 #B45CCB
tetradic
#CBB45C #5CCB7D #5C73CB #CB5CAA
square
#CBB45C #5CCB7D #5C73CB #CB5CAA
split-complementary
#CBB45C #5CAACB #7D5CCB
monochromatic
#83702A #B19839 #CBB45C #DAC98A #E9DFB9

Accessibility & contrast

On white

2.05
#CBB45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB45C#FFFFFF#000000##000000
##CBB45C1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb45c;
/* rgb */ color: rgb(203, 180, 92);
/* oklch */ color: oklch(77.2% 0.112 95.0);
Tailwind
colors: {
  custom: {
    50: '#ddca8c',
    500: '#cbb45c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb45c;
$custom-light: #ddca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb45c",
  "rgb": {
    "r": 203,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 47.568,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77166,
    "c": 0.11163,
    "h": 95
  },
  "luminance": 0.46112
}

Semantic roles & 50–950 ramp

primary
#CBB45C
secondary
#ABB4D8
accent
#6ADB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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