#C9CA31#C9CA31

#C9CA31 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.164 H 109.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C9CA31
RGBrgb(201, 202, 49)
HSLhsl(60, 61%, 49%)
HSVhsv(60, 76%, 79%)
CMYKcmyk(0.5%, 0%, 75.7%, 20.8%)
CIE-LABlab(78.97, -17.48, 70.35)
CIE-LCHlch(78.97, 72.49, 103.95°)
OKLaboklab(81.27% -0.0558 0.1538)
OKLCHoklch(81.27% 0.164 109.9)
XYZxyz(45.7640, 54.8817, 11.0877)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CA31 #3231CA
analogous
#CA7F31 #C9CA31 #7DCA31
triadic
#C9CA31 #31C9CA #CA31C9
tetradic
#C9CA31 #31CA7F #3231CA #CA317D
square
#C9CA31 #31CA7F #3231CA #CA317D
split-complementary
#C9CA31 #317DCA #7F31CA
monochromatic
#676719 #989925 #C9CA31 #D8D860 #E4E491

Accessibility & contrast

On white

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

On black

11.98
#C9CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CA31
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CA31#FFFFFF#000000##000000
##C9CA311.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC105
Deuteranopia (green-blind)
#DCC63E
Tritanopia (blue-blind)
#D7BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c9ca31;
/* rgb */ color: rgb(201, 202, 49);
/* oklch */ color: oklch(81.3% 0.164 109.9);
Tailwind
colors: {
  custom: {
    50: '#ddd976',
    500: '#c9ca31',
    950: '#000000',
  },
}
SCSS
$custom: #c9ca31;
$custom-light: #ddd976;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ca31",
  "rgb": {
    "r": 201,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 60.392,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81274,
    "c": 0.16359,
    "h": 109.9
  },
  "luminance": 0.5488
}

Semantic roles & 50–950 ramp

primary
#C9CA31
secondary
#2E2E72
accent
#44E445
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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