#C9C82A#C9C82A

#C9C82A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.165 H 109.2°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C9C82A
RGBrgb(201, 200, 42)
HSLhsl(60, 65%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0%, 0.5%, 79.1%, 21.2%)
CIE-LABlab(78.40, -16.73, 71.89)
CIE-LCHlch(78.40, 73.81, 103.10°)
OKLaboklab(80.81% -0.0543 0.1558)
OKLCHoklch(80.81% 0.165 109.2)
XYZxyz(45.1614, 53.8947, 10.2138)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C82A #2A2BC9
analogous
#C9792A #C9C82A #7AC92A
triadic
#C9C82A #2AC9C8 #C82AC9
tetradic
#C9C82A #2AC979 #2A2BC9 #C92A7A
square
#C9C82A #2AC979 #2A2BC9 #C92A7A
split-complementary
#C9C82A #2A7AC9 #792AC9
monochromatic
#646315 #96961F #C9C82A #DBDB55 #E6E587

Accessibility & contrast

On white

1.78
#C9C82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#C9C82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C82A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C82A#FFFFFF#000000##000000
##C9C82A1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#DBC439
Tritanopia (blue-blind)
#D8BBAB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c82a;
/* rgb */ color: rgb(201, 200, 42);
/* oklch */ color: oklch(80.8% 0.165 109.2);
Tailwind
colors: {
  custom: {
    50: '#ded872',
    500: '#c9c82a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c82a;
$custom-light: #ded872;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c82a",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 42
  },
  "hsl": {
    "h": 59.623,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80806,
    "c": 0.16499,
    "h": 109.2
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#C9C82A
secondary
#29296E
accent
#40E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C82A

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

Preview Lab → · Contrast checker → · Palette generator →

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