#C9C02E#C9C02E

#C9C02E is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.1% C 0.156 H 105.8°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C9C02E
RGBrgb(201, 192, 46)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 77%, 79%)
CMYKcmyk(0%, 4.5%, 77.1%, 21.2%)
CIE-LABlab(76.26, -12.57, 68.81)
CIE-LCHlch(76.26, 69.95, 100.35°)
OKLaboklab(79.11% -0.0423 0.15)
OKLCHoklch(79.11% 0.156 105.8)
XYZxyz(43.4320, 50.3157, 10.0084)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9C02E #2E37C9
analogous
#C9722E #C9C02E #84C92E
triadic
#C9C02E #2EC9C0 #C02EC9
tetradic
#C9C02E #2EC972 #2E37C9 #C92E84
square
#C9C02E #2EC972 #2E37C9 #C92E84
split-complementary
#C9C02E #2E84C9 #722EC9
monochromatic
#656117 #979023 #C9C02E #D9D25B #E5E08D

Accessibility & contrast

On white

1.90
#C9C02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C9C02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9C02E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9C02E#FFFFFF#000000##000000
##C9C02E1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B904
Deuteranopia (green-blind)
#D5BF3A
Tritanopia (blue-blind)
#D8B3A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9c02e;
/* rgb */ color: rgb(201, 192, 46);
/* oklch */ color: oklch(79.1% 0.156 105.8);
Tailwind
colors: {
  custom: {
    50: '#ddd273',
    500: '#c9c02e',
    950: '#000000',
  },
}
SCSS
$custom: #c9c02e;
$custom-light: #ddd273;
$custom-dark: #000000;
JSON
{
  "hex": "#c9c02e",
  "rgb": {
    "r": 201,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 56.516,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79107,
    "c": 0.15582,
    "h": 105.8
  },
  "luminance": 0.50314
}

Semantic roles & 50–950 ramp

primary
#C9C02E
secondary
#2C2F70
accent
#4CE642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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