#C9C03C#C9C03C

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

Color values

HEX#C9C03C
RGBrgb(201, 192, 60)
HSLhsl(56, 57%, 51%)
HSVhsv(56, 70%, 79%)
CMYKcmyk(0%, 4.5%, 70.1%, 21.2%)
CIE-LABlab(76.34, -11.95, 64.11)
CIE-LCHlch(76.34, 65.21, 100.56°)
OKLaboklab(79.19% -0.0393 0.1425)
OKLCHoklch(79.19% 0.148 105.4)
XYZxyz(43.7544, 50.4447, 11.7061)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C03C #3C45C9
analogous
#C9793C #C9C03C #8BC93C
triadic
#C9C03C #3CC9C0 #C03CC9
tetradic
#C9C03C #3CC979 #3C45C9 #C93C8B
square
#C9C03C #3CC979 #3C45C9 #C93C8B
split-complementary
#C9C03C #3C8BC9 #793CC9
monochromatic
#6D681E #9C952B #C9C03C #D6CF6C #E4DF9C

Accessibility & contrast

On white

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

On black

11.09
#C9C03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C03C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C03C#FFFFFF#000000##000000
##C9C03C1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9c03c;
/* rgb */ color: rgb(201, 192, 60);
/* oklch */ color: oklch(79.2% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd27a',
    500: '#c9c03c',
    950: '#000000',
  },
}
SCSS
$custom: #c9c03c;
$custom-light: #ddd27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c03c",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 56.17,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79194,
    "c": 0.14784,
    "h": 105.4
  },
  "luminance": 0.50443
}

Semantic roles & 50–950 ramp

primary
#C9C03C
secondary
#333776
accent
#52E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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