#C8CC49#C8CC49

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

Color values

HEX#C8CC49
RGBrgb(200, 204, 73)
HSLhsl(62, 56%, 54%)
HSVhsv(62, 64%, 80%)
CMYKcmyk(2%, 0%, 64.2%, 20%)
CIE-LABlab(79.58, -17.69, 62.33)
CIE-LCHlch(79.58, 64.79, 105.85°)
OKLaboklab(81.79% -0.0541 0.1409)
OKLCHoklch(81.79% 0.151 111)
XYZxyz(46.6163, 55.9473, 14.6453)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC49 #4D49CC
analogous
#CC8F49 #C8CC49 #87CC49
triadic
#C8CC49 #49C8CC #CC49C8
tetradic
#C8CC49 #49CC8F #4D49CC #CC4987
square
#C8CC49 #49CC8F #4D49CC #CC4987
split-complementary
#C8CC49 #4987CC #8F49CC
monochromatic
#767922 #A5A92F #C8CC49 #D6D979 #E5E7A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC49#FFFFFF#000000##000000
##C8CC491.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)
#DBC337
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc49;
/* rgb */ color: rgb(200, 204, 73);
/* oklch */ color: oklch(81.8% 0.151 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb82',
    500: '#c8cc49',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc49;
$custom-light: #dcdb82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc49",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 61.832,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8179,
    "c": 0.15091,
    "h": 111
  },
  "luminance": 0.55946
}

Semantic roles & 50–950 ramp

primary
#C8CC49
secondary
#3A3881
accent
#48E04D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC49

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

Preview Lab → · Contrast checker → · Palette generator →

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