#C9B951#C9B951

#C9B951 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.126 H 100.6°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#C9B951
RGBrgb(201, 185, 81)
HSLhsl(52, 53%, 55%)
HSVhsv(52, 60%, 79%)
CMYKcmyk(0%, 8%, 59.7%, 21.2%)
CIE-LABlab(74.64, -7.09, 53.61)
CIE-LCHlch(74.64, 54.07, 97.54°)
OKLaboklab(77.9% -0.0232 0.1235)
OKLCHoklch(77.9% 0.126 100.6)
XYZxyz(42.9232, 47.7112, 14.7312)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B951 #5161C9
analogous
#C97D51 #C9B951 #9DC951
triadic
#C9B951 #51C9B9 #B951C9
tetradic
#C9B951 #51C97D #5161C9 #C9519D
square
#C9B951 #51C97D #5161C9 #C9519D
split-complementary
#C9B951 #519DC9 #7D51C9
monochromatic
#7A6F26 #A99934 #C9B951 #D7CC80 #E6DFAE

Accessibility & contrast

On white

1.99
#C9B951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#C9B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B951
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B951#FFFFFF#000000##000000
##C9B9511.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#D7ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9b951;
/* rgb */ color: rgb(201, 185, 81);
/* oklch */ color: oklch(77.9% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#dccd86',
    500: '#c9b951',
    950: '#000000',
  },
}
SCSS
$custom: #c9b951;
$custom-light: #dccd86;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b951",
  "rgb": {
    "r": 201,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 52,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77897,
    "c": 0.12568,
    "h": 100.6
  },
  "luminance": 0.4771
}

Semantic roles & 50–950 ramp

primary
#C9B951
secondary
#A2A9D4
accent
#5FDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9B951

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

Preview Lab → · Contrast checker → · Palette generator →

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