#CBB978#CBB978

#CBB978 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.087 H 94.5°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CBB978
RGBrgb(203, 185, 120)
HSLhsl(47, 44%, 63%)
HSVhsv(47, 41%, 80%)
CMYKcmyk(0%, 8.9%, 40.9%, 20.4%)
CIE-LABlab(75.30, -2.76, 35.29)
CIE-LCHlch(75.30, 35.40, 94.47°)
OKLaboklab(78.61% -0.0067 0.0864)
OKLCHoklch(78.61% 0.087 94.5)
XYZxyz(45.3688, 48.7521, 24.7859)
Luminance0.4875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB978 #788ACB
analogous
#CB8F78 #CBB978 #B3CB78
triadic
#CBB978 #78CBB9 #B978CB
tetradic
#CBB978 #78CB8F #788ACB #CB78B3
square
#CBB978 #78CB8F #788ACB #CB78B3
split-complementary
#CBB978 #78B3CB #8F78CB
monochromatic
#917E38 #BAA24C #CBB978 #DCD0A4 #EDE7D0

Accessibility & contrast

On white

1.95
#CBB978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CBB978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB978
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB978#FFFFFF#000000##000000
##CBB9781.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B673
Deuteranopia (green-blind)
#CBBC7A
Tritanopia (blue-blind)
#D7B0A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbb978;
/* rgb */ color: rgb(203, 185, 120);
/* oklch */ color: oklch(78.6% 0.087 94.5);
Tailwind
colors: {
  custom: {
    50: '#dccda0',
    500: '#cbb978',
    950: '#000000',
  },
}
SCSS
$custom: #cbb978;
$custom-light: #dccda0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb978",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 120
  },
  "hsl": {
    "h": 46.988,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.78612,
    "c": 0.08666,
    "h": 94.5
  },
  "luminance": 0.4875
}

Semantic roles & 50–950 ramp

primary
#CBB978
secondary
#C1C7DE
accent
#4CB82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CBB978

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

Preview Lab → · Contrast checker → · Palette generator →

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