#C9C76F#C9C76F

#C9C76F is a light, moderate yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.111 H 107.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#C9C76F
RGBrgb(201, 199, 111)
HSLhsl(59, 45%, 61%)
HSVhsv(59, 45%, 79%)
CMYKcmyk(0%, 1%, 44.8%, 21.2%)
CIE-LABlab(78.70, -11.75, 44.09)
CIE-LCHlch(78.70, 45.63, 104.92°)
OKLaboklab(81.23% -0.0333 0.1058)
OKLCHoklch(81.23% 0.111 107.5)
XYZxyz(47.3810, 54.4132, 23.0427)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C76F #6F71C9
analogous
#C99A6F #C9C76F #9EC96F
triadic
#C9C76F #6FC9C7 #C76FC9
tetradic
#C9C76F #6FC99A #6F71C9 #C96F9E
square
#C9C76F #6FC99A #6F71C9 #C96F9E
split-complementary
#C9C76F #6F9EC9 #9A6FC9
monochromatic
#8A8834 #B6B444 #C9C76F #DAD89C #EAEAC8

Accessibility & contrast

On white

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

On black

11.88
#C9C76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C76F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C76F#FFFFFF#000000##000000
##C9C76F1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C168
Deuteranopia (green-blind)
#D6C573
Tritanopia (blue-blind)
#D4BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9c76f;
/* rgb */ color: rgb(201, 199, 111);
/* oklch */ color: oklch(81.2% 0.111 107.5);
Tailwind
colors: {
  custom: {
    50: '#dbd79a',
    500: '#c9c76f',
    950: '#000000',
  },
}
SCSS
$custom: #c9c76f;
$custom-light: #dbd79a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c76f",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 58.667,
    "s": 45.455,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.11089,
    "h": 107.5
  },
  "luminance": 0.54412
}

Semantic roles & 50–950 ramp

primary
#C9C76F
secondary
#4B4D91
accent
#30B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C9C76F

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

Preview Lab → · Contrast checker → · Palette generator →

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