#C9C332#C9C332

#C9C332 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.8% C 0.156 H 107.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#C9C332
RGBrgb(201, 195, 50)
HSLhsl(58, 60%, 49%)
HSVhsv(58, 75%, 79%)
CMYKcmyk(0%, 3%, 75.1%, 21.2%)
CIE-LABlab(77.09, -13.93, 68.31)
CIE-LCHlch(77.09, 69.71, 101.53°)
OKLaboklab(79.77% -0.0458 0.1496)
OKLCHoklch(79.77% 0.156 107)
XYZxyz(44.1800, 51.6796, 10.6649)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C332 #3238C9
analogous
#C97832 #C9C332 #84C932
triadic
#C9C332 #32C9C3 #C332C9
tetradic
#C9C332 #32C978 #3238C9 #C93284
square
#C9C332 #32C978 #3238C9 #C93284
split-complementary
#C9C332 #3284C9 #7832C9
monochromatic
#67641A #989326 #C9C332 #D8D361 #E4E192

Accessibility & contrast

On white

1.85
#C9C332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#C9C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C332
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C332#FFFFFF#000000##000000
##C9C3321.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB10
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#D8B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c332;
/* rgb */ color: rgb(201, 195, 50);
/* oklch */ color: oklch(79.8% 0.156 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd475',
    500: '#c9c332',
    950: '#000000',
  },
}
SCSS
$custom: #c9c332;
$custom-light: #ddd475;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c332",
  "rgb": {
    "r": 201,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 57.616,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79772,
    "c": 0.15646,
    "h": 107
  },
  "luminance": 0.51678
}

Semantic roles & 50–950 ramp

primary
#C9C332
secondary
#2E3171
accent
#4BE344
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C332

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

Preview Lab → · Contrast checker → · Palette generator →

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