#C9CC38#C9CC38

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

Color values

HEX#C9CC38
RGBrgb(201, 204, 56)
HSLhsl(61, 59%, 51%)
HSVhsv(61, 73%, 80%)
CMYKcmyk(1.5%, 0%, 72.5%, 20%)
CIE-LABlab(79.55, -18.17, 68.63)
CIE-LCHlch(79.55, 70.99, 104.83°)
OKLaboklab(81.75% -0.0571 0.1514)
OKLCHoklch(81.75% 0.162 110.7)
XYZxyz(46.3957, 55.8900, 12.0845)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9CC38 #3B38CC
analogous
#CC8538 #C9CC38 #7FCC38
triadic
#C9CC38 #38C9CC #CC38C9
tetradic
#C9CC38 #38CC85 #3B38CC #CC387F
square
#C9CC38 #38CC85 #3B38CC #CC387F
split-complementary
#C9CC38 #387FCC #8538CC
monochromatic
#6C6E1C #9C9E29 #C9CC38 #D6D869 #E3E599

Accessibility & contrast

On white

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

On black

12.18
#C9CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9CC38
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9CC38#FFFFFF#000000##000000
##C9CC381.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9cc38;
/* rgb */ color: rgb(201, 204, 56);
/* oklch */ color: oklch(81.7% 0.162 110.7);
Tailwind
colors: {
  custom: {
    50: '#dddb79',
    500: '#c9cc38',
    950: '#000000',
  },
}
SCSS
$custom: #c9cc38;
$custom-light: #dddb79;
$custom-dark: #000000;
JSON
{
  "hex": "#c9cc38",
  "rgb": {
    "r": 201,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 61.216,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81748,
    "c": 0.1618,
    "h": 110.7
  },
  "luminance": 0.55889
}

Semantic roles & 50–950 ramp

primary
#C9CC38
secondary
#333177
accent
#45E249
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C9CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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