#C9CA2A#C9CA2A

#C9CA2A is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.2% C 0.167 H 110.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C9CA2A
RGBrgb(201, 202, 42)
HSLhsl(60, 66%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0.5%, 0%, 79.2%, 20.8%)
CIE-LABlab(78.94, -17.73, 72.36)
CIE-LCHlch(78.94, 74.50, 103.77°)
OKLaboklab(81.24% -0.057 0.1568)
OKLCHoklch(81.24% 0.167 110)
XYZxyz(45.6276, 54.8271, 10.3692)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA2A #2B2ACA
analogous
#CA7B2A #C9CA2A #79CA2A
triadic
#C9CA2A #2AC9CA #CA2AC9
tetradic
#C9CA2A #2ACA7B #2B2ACA #CA2A79
square
#C9CA2A #2ACA7B #2B2ACA #CA2A79
split-complementary
#C9CA2A #2A79CA #7B2ACA
monochromatic
#646515 #97971F #C9CA2A #DBDC55 #E6E688

Accessibility & contrast

On white

1.76
#C9CA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C9CA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA2A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA2A#FFFFFF#000000##000000
##C9CA2A1.001.7611.9711.97
#FFFFFF1.761.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DCC639
Tritanopia (blue-blind)
#D8BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9ca2a;
/* rgb */ color: rgb(201, 202, 42);
/* oklch */ color: oklch(81.2% 0.167 110.0);
Tailwind
colors: {
  custom: {
    50: '#ded973',
    500: '#c9ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca2a;
$custom-light: #ded973;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca2a",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 60.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.81239,
    "c": 0.16688,
    "h": 110
  },
  "luminance": 0.54826
}

Semantic roles & 50–950 ramp

primary
#C9CA2A
secondary
#2A296F
accent
#3FE940
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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