#C9C72A#C9C72A

#C9C72A is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.6% C 0.164 H 108.8°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#C9C72A
RGBrgb(201, 199, 42)
HSLhsl(59, 65%, 48%)
HSVhsv(59, 79%, 79%)
CMYKcmyk(0%, 1%, 79.1%, 21.2%)
CIE-LABlab(78.13, -16.24, 71.65)
CIE-LCHlch(78.13, 73.46, 102.77°)
OKLaboklab(80.59% -0.0529 0.1553)
OKLCHoklch(80.59% 0.164 108.8)
XYZxyz(44.9305, 53.4330, 10.1369)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C72A #2A2CC9
analogous
#C9772A #C9C72A #7CC92A
triadic
#C9C72A #2AC9C7 #C72AC9
tetradic
#C9C72A #2AC977 #2A2CC9 #C92A7C
square
#C9C72A #2AC977 #2A2CC9 #C92A7C
split-complementary
#C9C72A #2A7CC9 #772AC9
monochromatic
#646315 #96951F #C9C72A #DBDA55 #E6E587

Accessibility & contrast

On white

1.80
#C9C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#C9C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C72A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C72A#FFFFFF#000000##000000
##C9C72A1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#DAC338
Tritanopia (blue-blind)
#D8BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c9c72a;
/* rgb */ color: rgb(201, 199, 42);
/* oklch */ color: oklch(80.6% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded772',
    500: '#c9c72a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c72a;
$custom-light: #ded772;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c72a",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 59.245,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.8059,
    "c": 0.16405,
    "h": 108.8
  },
  "luminance": 0.53432
}

Semantic roles & 50–950 ramp

primary
#C9C72A
secondary
#292A6E
accent
#42E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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