#C9C232#C9C232

#C9C232 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.156 H 106.6°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C9C232
RGBrgb(201, 194, 50)
HSLhsl(57, 60%, 49%)
HSVhsv(57, 75%, 79%)
CMYKcmyk(0%, 3.5%, 75.1%, 21.2%)
CIE-LABlab(76.82, -13.42, 68.06)
CIE-LCHlch(76.82, 69.37, 101.16°)
OKLaboklab(79.56% -0.0444 0.1491)
OKLCHoklch(79.56% 0.156 106.6)
XYZxyz(43.9567, 51.2330, 10.5905)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C232 #3239C9
analogous
#C97732 #C9C232 #84C932
triadic
#C9C232 #32C9C2 #C232C9
tetradic
#C9C232 #32C977 #3239C9 #C93284
square
#C9C232 #32C977 #3239C9 #C93284
split-complementary
#C9C232 #3284C9 #7732C9
monochromatic
#67631A #989326 #C9C232 #D8D261 #E4E092

Accessibility & contrast

On white

1.87
#C9C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C9C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C232
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C232#FFFFFF#000000##000000
##C9C2321.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB10
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#D8B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c9c232;
/* rgb */ color: rgb(201, 194, 50);
/* oklch */ color: oklch(79.6% 0.156 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd475',
    500: '#c9c232',
    950: '#000000',
  },
}
SCSS
$custom: #c9c232;
$custom-light: #ddd475;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c232",
  "rgb": {
    "r": 201,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 57.219,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.79557,
    "c": 0.15554,
    "h": 106.6
  },
  "luminance": 0.51231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9C232

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

Preview Lab → · Contrast checker → · Palette generator →

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