#C8CC4F#C8CC4F

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

Color values

HEX#C8CC4F
RGBrgb(200, 204, 79)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2%, 0%, 61.3%, 20%)
CIE-LABlab(79.63, -17.31, 59.91)
CIE-LCHlch(79.63, 62.36, 106.11°)
OKLaboklab(81.84% -0.0524 0.1367)
OKLCHoklch(81.84% 0.146 111)
XYZxyz(46.8249, 56.0307, 15.7440)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC4F #534FCC
analogous
#CC914F #C8CC4F #89CC4F
triadic
#C8CC4F #4FC8CC #CC4FC8
tetradic
#C8CC4F #4FCC91 #534FCC #CC4F89
square
#C8CC4F #4FCC91 #534FCC #CC4F89
split-complementary
#C8CC4F #4F89CC #914FCC
monochromatic
#7A7D24 #A8AC32 #C8CC4F #D7DA7E #E6E7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC4F#FFFFFF#000000##000000
##C8CC4F1.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)
#DBC340
Deuteranopia (green-blind)
#DCC757
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc4f;
/* rgb */ color: rgb(200, 204, 79);
/* oklch */ color: oklch(81.8% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb86',
    500: '#c8cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc4f;
$custom-light: #dcdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc4f",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 61.92,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81843,
    "c": 0.14635,
    "h": 111
  },
  "luminance": 0.5603
}

Semantic roles & 50–950 ramp

primary
#C8CC4F
secondary
#3D3B84
accent
#49DE4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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