#C9D951#C9D951

#C9D951 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.159 H 115.6°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#C9D951
RGBrgb(201, 217, 81)
HSLhsl(67, 64%, 58%)
HSVhsv(67, 63%, 85%)
CMYKcmyk(7.4%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.25, -23.14, 62.97)
CIE-LCHlch(83.25, 67.09, 110.18°)
OKLaboklab(84.77% -0.0686 0.1434)
OKLCHoklch(84.77% 0.159 115.6)
XYZxyz(50.3866, 62.6380, 17.2190)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D951 #6151D9
analogous
#D9A551 #C9D951 #85D951
triadic
#C9D951 #51C9D9 #D951C9
tetradic
#C9D951 #51D9A5 #6151D9 #D95185
square
#C9D951 #51D9A5 #6151D9 #D95185
split-complementary
#C9D951 #5185D9 #A551D9
monochromatic
#83901F #B0C22A #C9D951 #D9E483 #E8EFB5

Accessibility & contrast

On white

1.55
#C9D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#C9D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D951
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D951#FFFFFF#000000##000000
##C9D9511.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D5CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c9d951;
/* rgb */ color: rgb(201, 217, 81);
/* oklch */ color: oklch(84.8% 0.159 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce488',
    500: '#c9d951',
    950: '#000000',
  },
}
SCSS
$custom: #c9d951;
$custom-light: #dce488;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d951",
  "rgb": {
    "r": 201,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 67.059,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84765,
    "c": 0.15896,
    "h": 115.6
  },
  "luminance": 0.62637
}

Semantic roles & 50–950 ramp

primary
#C9D951
secondary
#443995
accent
#41E754
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C9D951

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

Preview Lab → · Contrast checker → · Palette generator →

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