#C9C03E#C9C03E

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

Color values

HEX#C9C03E
RGBrgb(201, 192, 62)
HSLhsl(56, 56%, 52%)
HSVhsv(56, 69%, 79%)
CMYKcmyk(0%, 4.5%, 69.2%, 21.2%)
CIE-LABlab(76.35, -11.85, 63.37)
CIE-LCHlch(76.35, 64.47, 100.59°)
OKLaboklab(79.21% -0.0388 0.1413)
OKLCHoklch(79.21% 0.147 105.4)
XYZxyz(43.8083, 50.4662, 11.9898)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C03E #3E47C9
analogous
#C97B3E #C9C03E #8DC93E
triadic
#C9C03E #3EC9C0 #C03EC9
tetradic
#C9C03E #3EC97B #3E47C9 #C93E8D
square
#C9C03E #3EC97B #3E47C9 #C93E8D
split-complementary
#C9C03E #3E8DC9 #7B3EC9
monochromatic
#6E691F #9E962C #C9C03E #D6D06E #E4DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9C03E#FFFFFF#000000##000000
##C9C03E1.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)
#D0B92A
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c03e;
/* rgb */ color: rgb(201, 192, 62);
/* oklch */ color: oklch(79.2% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#ddd27b',
    500: '#c9c03e',
    950: '#000000',
  },
}
SCSS
$custom: #c9c03e;
$custom-light: #ddd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c03e",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 56.115,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79209,
    "c": 0.14654,
    "h": 105.4
  },
  "luminance": 0.50465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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