#C9CC30#C9CC30

#C9CC30 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.166 H 110.7°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C9CC30
RGBrgb(201, 204, 48)
HSLhsl(61, 62%, 49%)
HSVhsv(61, 76%, 80%)
CMYKcmyk(1.5%, 0%, 76.5%, 20%)
CIE-LABlab(79.51, -18.51, 71.14)
CIE-LCHlch(79.51, 73.51, 104.58°)
OKLaboklab(81.7% -0.0587 0.1553)
OKLCHoklch(81.7% 0.166 110.7)
XYZxyz(46.2154, 55.8179, 11.1352)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC30 #3330CC
analogous
#CC8130 #C9CC30 #7BCC30
triadic
#C9CC30 #30C9CC #CC30C9
tetradic
#C9CC30 #30CC81 #3330CC #CC307B
square
#C9CC30 #30CC81 #3330CC #CC307B
split-complementary
#C9CC30 #307BCC #8130CC
monochromatic
#676919 #989A24 #C9CC30 #D7DA60 #E4E591

Accessibility & contrast

On white

1.73
#C9CC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#C9CC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC30
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC30#FFFFFF#000000##000000
##C9CC301.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DEC73E
Tritanopia (blue-blind)
#D7BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc30;
/* rgb */ color: rgb(201, 204, 48);
/* oklch */ color: oklch(81.7% 0.166 110.7);
Tailwind
colors: {
  custom: {
    50: '#dddb75',
    500: '#c9cc30',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc30;
$custom-light: #dddb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc30",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 48
  },
  "hsl": {
    "h": 61.154,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81702,
    "c": 0.16603,
    "h": 110.7
  },
  "luminance": 0.55817
}

Semantic roles & 50–950 ramp

primary
#C9CC30
secondary
#2F2D73
accent
#43E546
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C9CC30

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

Preview Lab → · Contrast checker → · Palette generator →

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