#C9CC45#C9CC45

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

Color values

HEX#C9CC45
RGBrgb(201, 204, 69)
HSLhsl(61, 57%, 54%)
HSVhsv(61, 66%, 80%)
CMYKcmyk(1.5%, 0%, 66.2%, 20%)
CIE-LABlab(79.63, -17.51, 63.98)
CIE-LCHlch(79.63, 66.34, 105.31°)
OKLaboklab(81.84% -0.054 0.1438)
OKLCHoklch(81.84% 0.154 110.6)
XYZxyz(46.7559, 56.0341, 13.9818)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC45 #4845CC
analogous
#CC8B45 #C9CC45 #85CC45
triadic
#C9CC45 #45C9CC #CC45C9
tetradic
#C9CC45 #45CC8B #4845CC #CC4585
square
#C9CC45 #45CC8B #4845CC #CC4585
split-complementary
#C9CC45 #4585CC #8B45CC
monochromatic
#747620 #A4A62E #C9CC45 #D7D975 #E5E6A5

Accessibility & contrast

On white

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

On black

12.21
#C9CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC45
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC45#FFFFFF#000000##000000
##C9CC451.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC331
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#D7C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c9cc45;
/* rgb */ color: rgb(201, 204, 69);
/* oklch */ color: oklch(81.8% 0.154 110.6);
Tailwind
colors: {
  custom: {
    50: '#dddb80',
    500: '#c9cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc45;
$custom-light: #dddb80;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc45",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 61.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.8184,
    "c": 0.15357,
    "h": 110.6
  },
  "luminance": 0.56033
}

Semantic roles & 50–950 ramp

primary
#C9CC45
secondary
#38367F
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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