#C9C372#C9C372

#C9C372 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.103 H 104.8°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#C9C372
RGBrgb(201, 195, 114)
HSLhsl(56, 45%, 62%)
HSVhsv(56, 43%, 79%)
CMYKcmyk(0%, 3%, 43.3%, 21.2%)
CIE-LABlab(77.68, -9.40, 41.33)
CIE-LCHlch(77.68, 42.39, 102.81°)
OKLaboklab(80.43% -0.0263 0.0998)
OKLCHoklch(80.43% 0.103 104.8)
XYZxyz(46.6407, 52.6639, 23.6246)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C372 #7278C9
analogous
#C99872 #C9C372 #A4C972
triadic
#C9C372 #72C9C3 #C372C9
tetradic
#C9C372 #72C998 #7278C9 #C972A4
square
#C9C372 #72C998 #7278C9 #C972A4
split-complementary
#C9C372 #72A4C9 #9872C9
monochromatic
#8B8535 #B8B046 #C9C372 #DAD69E #EBE9CB

Accessibility & contrast

On white

1.82
#C9C372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#C9C372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C372
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C372#FFFFFF#000000##000000
##C9C3721.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6C
Deuteranopia (green-blind)
#D2C276
Tritanopia (blue-blind)
#D4B9AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c9c372;
/* rgb */ color: rgb(201, 195, 114);
/* oklch */ color: oklch(80.4% 0.103 104.8);
Tailwind
colors: {
  custom: {
    50: '#dbd59c',
    500: '#c9c372',
    950: '#000000',
  },
}
SCSS
$custom: #c9c372;
$custom-light: #dbd59c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c372",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 55.862,
    "s": 44.615,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80428,
    "c": 0.1032,
    "h": 104.8
  },
  "luminance": 0.52663
}

Semantic roles & 50–950 ramp

primary
#C9C372
secondary
#4D5292
accent
#37B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C9C372

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

Preview Lab → · Contrast checker → · Palette generator →

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