#CBB971#CBB971

#CBB971 is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.094 H 95.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CBB971
RGBrgb(203, 185, 113)
HSLhsl(48, 46%, 62%)
HSVhsv(48, 44%, 80%)
CMYKcmyk(0%, 8.9%, 44.3%, 20.4%)
CIE-LABlab(75.19, -3.50, 38.76)
CIE-LCHlch(75.19, 38.92, 95.16°)
OKLaboklab(78.5% -0.0095 0.0939)
OKLCHoklch(78.5% 0.094 95.8)
XYZxyz(44.9594, 48.5883, 22.6298)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB971 #7183CB
analogous
#CB8C71 #CBB971 #B0CB71
triadic
#CBB971 #71CBB9 #B971CB
tetradic
#CBB971 #71CB8C #7183CB #CB71B0
square
#CBB971 #71CB8C #7183CB #CB71B0
split-complementary
#CBB971 #71B0CB #8C71CB
monochromatic
#8E7C34 #BBA344 #CBB971 #DBCF9E #ECE5CB

Accessibility & contrast

On white

1.96
#CBB971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CBB971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB971
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB971#FFFFFF#000000##000000
##CBB9711.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B66B
Deuteranopia (green-blind)
#CBBC74
Tritanopia (blue-blind)
#D7AFA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbb971;
/* rgb */ color: rgb(203, 185, 113);
/* oklch */ color: oklch(78.5% 0.094 95.8);
Tailwind
colors: {
  custom: {
    50: '#dccd9b',
    500: '#cbb971',
    950: '#000000',
  },
}
SCSS
$custom: #cbb971;
$custom-light: #dccd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb971",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 113
  },
  "hsl": {
    "h": 48,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78498,
    "c": 0.09441,
    "h": 95.8
  },
  "luminance": 0.48587
}

Semantic roles & 50–950 ramp

primary
#CBB971
secondary
#BBC2DC
accent
#48BA2C
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CBB971

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

Preview Lab → · Contrast checker → · Palette generator →

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