#C9CC40#C9CC40

#C9CC40 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.157 H 110.6°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#C9CC40
RGBrgb(201, 204, 64)
HSLhsl(61, 58%, 53%)
HSVhsv(61, 69%, 80%)
CMYKcmyk(1.5%, 0%, 68.6%, 20%)
CIE-LABlab(79.60, -17.78, 65.85)
CIE-LCHlch(79.60, 68.20, 105.11°)
OKLaboklab(81.8% -0.0553 0.1469)
OKLCHoklch(81.8% 0.157 110.6)
XYZxyz(46.6072, 55.9746, 13.1985)
Luminance0.5597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC40 #4340CC
analogous
#CC8940 #C9CC40 #83CC40
triadic
#C9CC40 #40C9CC #CC40C9
tetradic
#C9CC40 #40CC89 #4340CC #CC4083
square
#C9CC40 #40CC89 #4340CC #CC4083
split-complementary
#C9CC40 #4083CC #8940CC
monochromatic
#71731F #A1A32C #C9CC40 #D7D970 #E4E6A1

Accessibility & contrast

On white

1.72
#C9CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#C9CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC40
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC40#FFFFFF#000000##000000
##C9CC401.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#D7BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc40;
/* rgb */ color: rgb(201, 204, 64);
/* oklch */ color: oklch(81.8% 0.157 110.6);
Tailwind
colors: {
  custom: {
    50: '#dddb7d',
    500: '#c9cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc40;
$custom-light: #dddb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc40",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 61.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81802,
    "c": 0.15693,
    "h": 110.6
  },
  "luminance": 0.55973
}

Semantic roles & 50–950 ramp

primary
#C9CC40
secondary
#36347C
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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