#C9C832#C9C832

#C9C832 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.8% C 0.161 H 109.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#C9C832
RGBrgb(201, 200, 50)
HSLhsl(60, 60%, 49%)
HSVhsv(60, 75%, 79%)
CMYKcmyk(0%, 0.5%, 75.1%, 21.2%)
CIE-LABlab(78.44, -16.44, 69.55)
CIE-LCHlch(78.44, 71.47, 103.30°)
OKLaboklab(80.85% -0.0528 0.1523)
OKLCHoklch(80.85% 0.161 109.1)
XYZxyz(45.3191, 53.9578, 11.0446)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C832 #3233C9
analogous
#C97D32 #C9C832 #7EC932
triadic
#C9C832 #32C9C8 #C832C9
tetradic
#C9C832 #32C97D #3233C9 #C9327E
square
#C9C832 #32C97D #3233C9 #C9327E
split-complementary
#C9C832 #327EC9 #7D32C9
monochromatic
#67661A #989726 #C9C832 #D8D761 #E4E392

Accessibility & contrast

On white

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

On black

11.79
#C9C832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C832
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C832#FFFFFF#000000##000000
##C9C8321.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00B
Deuteranopia (green-blind)
#DAC43E
Tritanopia (blue-blind)
#D8BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c9c832;
/* rgb */ color: rgb(201, 200, 50);
/* oklch */ color: oklch(80.8% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddd876',
    500: '#c9c832',
    950: '#000000',
  },
}
SCSS
$custom: #c9c832;
$custom-light: #ddd876;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c832",
  "rgb": {
    "r": 201,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 59.603,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80848,
    "c": 0.16116,
    "h": 109.1
  },
  "luminance": 0.53956
}

Semantic roles & 50–950 ramp

primary
#C9C832
secondary
#2E2F71
accent
#46E344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C832

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

Preview Lab → · Contrast checker → · Palette generator →

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