#C9C76A#C9C76A

#C9C76A is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.116 H 107.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C9C76A
RGBrgb(201, 199, 106)
HSLhsl(59, 47%, 60%)
HSVhsv(59, 47%, 79%)
CMYKcmyk(0%, 1%, 47.3%, 21.2%)
CIE-LABlab(78.64, -12.23, 46.47)
CIE-LCHlch(78.64, 48.05, 104.74°)
OKLaboklab(81.16% -0.0352 0.1107)
OKLCHoklch(81.16% 0.116 107.6)
XYZxyz(47.1134, 54.3061, 21.6332)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C76A #6A6CC9
analogous
#C9986A #C9C76A #9BC96A
triadic
#C9C76A #6AC9C7 #C76AC9
tetradic
#C9C76A #6AC998 #6A6CC9 #C96A9B
square
#C9C76A #6AC998 #6A6CC9 #C96A9B
split-complementary
#C9C76A #6A9BC9 #986AC9
monochromatic
#878631 #B4B241 #C9C76A #D9D897 #EAE9C4

Accessibility & contrast

On white

1.77
#C9C76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C9C76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C76A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C76A#FFFFFF#000000##000000
##C9C76A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C162
Deuteranopia (green-blind)
#D6C46E
Tritanopia (blue-blind)
#D5BDB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9c76a;
/* rgb */ color: rgb(201, 199, 106);
/* oklch */ color: oklch(81.2% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#dbd797',
    500: '#c9c76a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c76a;
$custom-light: #dbd797;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c76a",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 58.737,
    "s": 46.798,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81161,
    "c": 0.1161,
    "h": 107.6
  },
  "luminance": 0.54305
}

Semantic roles & 50–950 ramp

primary
#C9C76A
secondary
#484A8F
accent
#2EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F

Preview Lab

Preview with #C9C76A

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

Preview Lab → · Contrast checker → · Palette generator →

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