#C9D332#C9D332

#C9D332 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.2% C 0.172 H 113.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C9D332
RGBrgb(201, 211, 50)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 76%, 83%)
CMYKcmyk(4.7%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.42, -21.86, 72.28)
CIE-LCHlch(81.42, 75.52, 106.83°)
OKLaboklab(83.24% -0.0679 0.1581)
OKLCHoklch(83.24% 0.172 113.2)
XYZxyz(47.9589, 59.2374, 11.9246)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D332 #3C32D3
analogous
#D38C32 #C9D332 #78D332
triadic
#C9D332 #32C9D3 #D332C9
tetradic
#C9D332 #32D38C #3C32D3 #D33278
square
#C9D332 #32D38C #3C32D3 #D33278
split-complementary
#C9D332 #3278D3 #8C32D3
monochromatic
#6D7218 #9CA423 #C9D332 #D6DE64 #E4E997

Accessibility & contrast

On white

1.63
#C9D332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#C9D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D332
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D332#FFFFFF#000000##000000
##C9D3321.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C900
Deuteranopia (green-blind)
#E3CC40
Tritanopia (blue-blind)
#D7C6B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c9d332;
/* rgb */ color: rgb(201, 211, 50);
/* oklch */ color: oklch(83.2% 0.172 113.2);
Tailwind
colors: {
  custom: {
    50: '#dde077',
    500: '#c9d332',
    950: '#000000',
  },
}
SCSS
$custom: #c9d332;
$custom-light: #dde077;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d332",
  "rgb": {
    "r": 201,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 63.727,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.83236,
    "c": 0.17203,
    "h": 113.2
  },
  "luminance": 0.59236
}

Semantic roles & 50–950 ramp

primary
#C9D332
secondary
#332E7B
accent
#40E84B
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #C9D332

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

Preview Lab → · Contrast checker → · Palette generator →

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