#C9CA2D#C9CA2D

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

Color values

HEX#C9CA2D
RGBrgb(201, 202, 45)
HSLhsl(60, 64%, 48%)
HSVhsv(60, 78%, 79%)
CMYKcmyk(0.5%, 0%, 77.7%, 20.8%)
CIE-LABlab(78.95, -17.63, 71.53)
CIE-LCHlch(78.95, 73.67, 103.84°)
OKLaboklab(81.25% -0.0565 0.1556)
OKLCHoklch(81.25% 0.166 110)
XYZxyz(45.6833, 54.8494, 10.6627)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA2D #2E2DCA
analogous
#CA7C2D #C9CA2D #7ACA2D
triadic
#C9CA2D #2DC9CA #CA2DC9
tetradic
#C9CA2D #2DCA7C #2E2DCA #CA2D7A
square
#C9CA2D #2DCA7C #2E2DCA #CA2D7A
split-complementary
#C9CA2D #2D7ACA #7C2DCA
monochromatic
#656617 #979822 #C9CA2D #D9DA5A #E5E58C

Accessibility & contrast

On white

1.75
#C9CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9CA2D#FFFFFF#000000##000000
##C9CA2D1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9ca2d;
/* rgb */ color: rgb(201, 202, 45);
/* oklch */ color: oklch(81.3% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#ddd974',
    500: '#c9ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca2d;
$custom-light: #ddd974;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca2d",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 60.382,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.81253,
    "c": 0.16552,
    "h": 110
  },
  "luminance": 0.54848
}

Semantic roles & 50–950 ramp

primary
#C9CA2D
secondary
#2C2B70
accent
#41E742
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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