#C9CA52#C9CA52

#C9CA52 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.5% C 0.142 H 109.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C9CA52
RGBrgb(201, 202, 82)
HSLhsl(61, 53%, 56%)
HSVhsv(61, 59%, 79%)
CMYKcmyk(0.5%, 0%, 59.4%, 20.8%)
CIE-LABlab(79.20, -15.69, 58.18)
CIE-LCHlch(79.20, 60.26, 105.09°)
OKLaboklab(81.52% -0.0475 0.1334)
OKLCHoklch(81.52% 0.142 109.6)
XYZxyz(46.7323, 55.2690, 16.1873)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA52 #5352CA
analogous
#CA8F52 #C9CA52 #8DCA52
triadic
#C9CA52 #52C9CA #CA52C9
tetradic
#C9CA52 #52CA8F #5352CA #CA528D
square
#C9CA52 #52CA8F #5352CA #CA528D
split-complementary
#C9CA52 #528DCA #8F52CA
monochromatic
#7B7C26 #AAAB34 #C9CA52 #D8D881 #E6E7B0

Accessibility & contrast

On white

1.74
#C9CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#C9CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA52
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA52#FFFFFF#000000##000000
##C9CA521.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C244
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#D6BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c9ca52;
/* rgb */ color: rgb(201, 202, 82);
/* oklch */ color: oklch(81.5% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dcd987',
    500: '#c9ca52',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca52;
$custom-light: #dcd987;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca52",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 60.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81523,
    "c": 0.14161,
    "h": 109.6
  },
  "luminance": 0.55268
}

Semantic roles & 50–950 ramp

primary
#C9CA52
secondary
#3D3C84
accent
#4BDD4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C9CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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