#C8C932#C8C932

#C8C932 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.162 H 109.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#C8C932
RGBrgb(200, 201, 50)
HSLhsl(60, 60%, 49%)
HSVhsv(60, 75%, 79%)
CMYKcmyk(0.5%, 0%, 75.1%, 21.2%)
CIE-LABlab(78.63, -17.36, 69.69)
CIE-LCHlch(78.63, 71.82, 103.99°)
OKLaboklab(80.98% -0.0553 0.1526)
OKLCHoklch(80.98% 0.162 109.9)
XYZxyz(45.2834, 54.2843, 11.1095)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C932 #3332C9
analogous
#C97E32 #C8C932 #7DC932
triadic
#C8C932 #32C8C9 #C932C8
tetradic
#C8C932 #32C97E #3332C9 #C9327D
square
#C8C932 #32C97E #3332C9 #C9327D
split-complementary
#C8C932 #327DC9 #7E32C9
monochromatic
#66671A #979826 #C8C932 #D7D861 #E3E492

Accessibility & contrast

On white

1.77
#C8C932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#C8C932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C932
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C932#FFFFFF#000000##000000
##C8C9321.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00B
Deuteranopia (green-blind)
#DBC53F
Tritanopia (blue-blind)
#D6BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c932;
/* rgb */ color: rgb(200, 201, 50);
/* oklch */ color: oklch(81.0% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#ddd976',
    500: '#c8c932',
    950: '#000000',
  },
}
SCSS
$custom: #c8c932;
$custom-light: #ddd976;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c932",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 60.397,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.8098,
    "c": 0.16232,
    "h": 109.9
  },
  "luminance": 0.54283
}

Semantic roles & 50–950 ramp

primary
#C8C932
secondary
#2F2E71
accent
#44E346
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C932

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

Preview Lab → · Contrast checker → · Palette generator →

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