#C8CC79#C8CC79

#C8CC79 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.106 H 110.9°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#C8CC79
RGBrgb(200, 204, 121)
HSLhsl(63, 45%, 64%)
HSVhsv(63, 41%, 80%)
CMYKcmyk(2%, 0%, 40.7%, 20%)
CIE-LABlab(80.09, -13.65, 40.83)
CIE-LCHlch(80.09, 43.05, 108.48°)
OKLaboklab(82.36% -0.0378 0.0991)
OKLCHoklch(82.36% 0.106 110.9)
XYZxyz(48.8641, 56.8464, 26.4838)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC79 #7D79CC
analogous
#CCA679 #C8CC79 #9ECC79
triadic
#C8CC79 #79C8CC #CC79C8
tetradic
#C8CC79 #79CCA6 #7D79CC #CC799E
square
#C8CC79 #79CCA6 #7D79CC #CC799E
split-complementary
#C8CC79 #799ECC #A679CC
monochromatic
#8E9338 #B6BB4D #C8CC79 #DADDA5 #ECEED2

Accessibility & contrast

On white

1.70
#C8CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#C8CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC79
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC79#FFFFFF#000000##000000
##C8CC791.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C572
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D2C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cc79;
/* rgb */ color: rgb(200, 204, 121);
/* oklch */ color: oklch(82.4% 0.106 110.9);
Tailwind
colors: {
  custom: {
    50: '#dadba1',
    500: '#c8cc79',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc79;
$custom-light: #dadba1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc79",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 62.892,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82361,
    "c": 0.10607,
    "h": 110.9
  },
  "luminance": 0.56846
}

Semantic roles & 50–950 ramp

primary
#C8CC79
secondary
#545099
accent
#2DB834
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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