#C9C03A#C9C03A

#C9C03A is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.149 H 105.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C9C03A
RGBrgb(201, 192, 58)
HSLhsl(56, 57%, 51%)
HSVhsv(56, 71%, 79%)
CMYKcmyk(0%, 4.5%, 71.1%, 21.2%)
CIE-LABlab(76.33, -12.05, 64.83)
CIE-LCHlch(76.33, 65.94, 100.53°)
OKLaboklab(79.18% -0.0398 0.1437)
OKLCHoklch(79.18% 0.149 105.5)
XYZxyz(43.7025, 50.4239, 11.4329)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C03A #3A43C9
analogous
#C9783A #C9C03A #8AC93A
triadic
#C9C03A #3AC9C0 #C03AC9
tetradic
#C9C03A #3AC978 #3A43C9 #C93A8A
square
#C9C03A #3AC978 #3A43C9 #C93A8A
split-complementary
#C9C03A #3A8AC9 #783AC9
monochromatic
#6B661D #9B942B #C9C03A #D6CF6A #E3DF9A

Accessibility & contrast

On white

1.89
#C9C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#C9C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C03A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C03A#FFFFFF#000000##000000
##C9C03A1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B923
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c03a;
/* rgb */ color: rgb(201, 192, 58);
/* oklch */ color: oklch(79.2% 0.149 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd279',
    500: '#c9c03a',
    950: '#000000',
  },
}
SCSS
$custom: #c9c03a;
$custom-light: #ddd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c03a",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 56.224,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7918,
    "c": 0.1491,
    "h": 105.5
  },
  "luminance": 0.50422
}

Semantic roles & 50–950 ramp

primary
#C9C03A
secondary
#323675
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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