#C9C72B#C9C72B

#C9C72B 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#C9C72B
RGBrgb(201, 199, 43)
HSLhsl(59, 65%, 48%)
HSVhsv(59, 79%, 79%)
CMYKcmyk(0%, 1%, 78.6%, 21.2%)
CIE-LABlab(78.13, -16.20, 71.37)
CIE-LCHlch(78.13, 73.19, 102.79°)
OKLaboklab(80.6% -0.0527 0.1549)
OKLCHoklch(80.6% 0.164 108.8)
XYZxyz(44.9486, 53.4402, 10.2323)
Luminance0.5344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C72B #2B2DC9
analogous
#C9782B #C9C72B #7CC92B
triadic
#C9C72B #2BC9C7 #C72BC9
tetradic
#C9C72B #2BC978 #2B2DC9 #C92B7C
square
#C9C72B #2BC978 #2B2DC9 #C92B7C
split-complementary
#C9C72B #2B7CC9 #782BC9
monochromatic
#646315 #979520 #C9C72B #DBD956 #E6E589

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C72B#FFFFFF#000000##000000
##C9C72B1.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)
#DAC339
Tritanopia (blue-blind)
#D8BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c9c72b;
/* rgb */ color: rgb(201, 199, 43);
/* oklch */ color: oklch(80.6% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#ded773',
    500: '#c9c72b',
    950: '#000000',
  },
}
SCSS
$custom: #c9c72b;
$custom-light: #ded773;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c72b",
  "rgb": {
    "r": 201,
    "g": 199,
    "b": 43
  },
  "hsl": {
    "h": 59.241,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80595,
    "c": 0.16361,
    "h": 108.8
  },
  "luminance": 0.53439
}

Semantic roles & 50–950 ramp

primary
#C9C72B
secondary
#2A2A6F
accent
#42E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C72B

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

Preview Lab → · Contrast checker → · Palette generator →

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