#C9BB52#C9BB52

#C9BB52 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.3% C 0.127 H 101.8°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C9BB52
RGBrgb(201, 187, 82)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 59%, 79%)
CMYKcmyk(0%, 7%, 59.2%, 21.2%)
CIE-LABlab(75.18, -8.06, 53.76)
CIE-LCHlch(75.18, 54.36, 98.52°)
OKLaboklab(78.33% -0.0258 0.124)
OKLCHoklch(78.33% 0.127 101.8)
XYZxyz(43.3823, 48.5690, 15.0706)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB52 #5260C9
analogous
#C97F52 #C9BB52 #9BC952
triadic
#C9BB52 #52C9BB #BB52C9
tetradic
#C9BB52 #52C97F #5260C9 #C9529B
square
#C9BB52 #52C97F #5260C9 #C9529B
split-complementary
#C9BB52 #529BC9 #7F52C9
monochromatic
#7A7026 #A99B35 #C9BB52 #D8CD81 #E6E0AF

Accessibility & contrast

On white

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

On black

10.71
#C9BB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB52
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB52#FFFFFF#000000##000000
##C9BB521.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB647
Deuteranopia (green-blind)
#CFBC57
Tritanopia (blue-blind)
#D7AFA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bb52;
/* rgb */ color: rgb(201, 187, 82);
/* oklch */ color: oklch(78.3% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#dccf86',
    500: '#c9bb52',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb52;
$custom-light: #dccf86;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb52",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 52.941,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78329,
    "c": 0.12663,
    "h": 101.8
  },
  "luminance": 0.48567
}

Semantic roles & 50–950 ramp

primary
#C9BB52
secondary
#A3A8D4
accent
#5DDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9BB52

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

Preview Lab → · Contrast checker → · Palette generator →

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