#C9D330#C9D330

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

Color values

HEX#C9D330
RGBrgb(201, 211, 48)
HSLhsl(64, 65%, 51%)
HSVhsv(64, 77%, 83%)
CMYKcmyk(4.7%, 0%, 77.3%, 17.3%)
CIE-LABlab(81.41, -21.94, 72.86)
CIE-LCHlch(81.41, 76.09, 106.76°)
OKLaboklab(83.23% -0.0682 0.159)
OKLCHoklch(83.23% 0.173 113.2)
XYZxyz(47.9167, 59.2205, 11.7023)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D330 #3A30D3
analogous
#D38B30 #C9D330 #77D330
triadic
#C9D330 #30C9D3 #D330C9
tetradic
#C9D330 #30D38B #3A30D3 #D33077
square
#C9D330 #30D38B #3A30D3 #D33077
split-complementary
#C9D330 #3077D3 #8B30D3
monochromatic
#6B7118 #9BA323 #C9D330 #D6DE62 #E3E895

Accessibility & contrast

On white

1.64
#C9D330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#C9D330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D330
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D330#FFFFFF#000000##000000
##C9D3301.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9d330;
/* rgb */ color: rgb(201, 211, 48);
/* oklch */ color: oklch(83.2% 0.173 113.2);
Tailwind
colors: {
  custom: {
    50: '#dde076',
    500: '#c9d330',
    950: '#000000',
  },
}
SCSS
$custom: #c9d330;
$custom-light: #dde076;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d330",
  "rgb": {
    "r": 201,
    "g": 211,
    "b": 48
  },
  "hsl": {
    "h": 63.681,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.83225,
    "c": 0.17299,
    "h": 113.2
  },
  "luminance": 0.59219
}

Semantic roles & 50–950 ramp

primary
#C9D330
secondary
#322E7A
accent
#40E84A
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #C9D330

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

Preview Lab → · Contrast checker → · Palette generator →

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