#C8CC3F#C8CC3F

#C8CC3F is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.158 H 111.0°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#C8CC3F
RGBrgb(200, 204, 63)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2%, 0%, 69.1%, 20%)
CIE-LABlab(79.51, -18.25, 66.10)
CIE-LCHlch(79.51, 68.58, 105.44°)
OKLaboklab(81.71% -0.0566 0.1473)
OKLCHoklch(81.71% 0.158 111)
XYZxyz(46.3110, 55.8252, 13.0375)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC3F #433FCC
analogous
#CC893F #C8CC3F #82CC3F
triadic
#C8CC3F #3FC8CC #CC3FC8
tetradic
#C8CC3F #3FCC89 #433FCC #CC3F82
square
#C8CC3F #3FCC89 #433FCC #CC3F82
split-complementary
#C8CC3F #3F82CC #893FCC
monochromatic
#70721E #9FA32B #C8CC3F #D6D96F #E4E6A0

Accessibility & contrast

On white

1.73
#C8CC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#C8CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC3F
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC3F#FFFFFF#000000##000000
##C8CC3F1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D6C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc3f;
/* rgb */ color: rgb(200, 204, 63);
/* oklch */ color: oklch(81.7% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb7d',
    500: '#c8cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc3f;
$custom-light: #dcdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc3f",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 61.702,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81712,
    "c": 0.15779,
    "h": 111
  },
  "luminance": 0.55824
}

Semantic roles & 50–950 ramp

primary
#C8CC3F
secondary
#36347B
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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