#C8CC5A#C8CC5A

#C8CC5A is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.137 H 110.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#C8CC5A
RGBrgb(200, 204, 90)
HSLhsl(62, 53%, 58%)
HSVhsv(62, 56%, 80%)
CMYKcmyk(2%, 0%, 55.9%, 20%)
CIE-LABlab(79.73, -16.52, 55.23)
CIE-LCHlch(79.73, 57.64, 106.65°)
OKLaboklab(81.95% -0.049 0.1281)
OKLCHoklch(81.95% 0.137 110.9)
XYZxyz(47.2589, 56.2043, 18.0299)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC5A #5E5ACC
analogous
#CC975A #C8CC5A #8FCC5A
triadic
#C8CC5A #5AC8CC #CC5AC8
tetradic
#C8CC5A #5ACC97 #5E5ACC #CC5A8F
square
#C8CC5A #5ACC97 #5E5ACC #CC5A8F
split-complementary
#C8CC5A #5A8FCC #975ACC
monochromatic
#808329 #AEB237 #C8CC5A #D8DA89 #E7E9B7

Accessibility & contrast

On white

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

On black

12.24
#C8CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC5A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC5A#FFFFFF#000000##000000
##C8CC5A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44E
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#D4C1B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c8cc5a;
/* rgb */ color: rgb(200, 204, 90);
/* oklch */ color: oklch(82.0% 0.137 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8c',
    500: '#c8cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc5a;
$custom-light: #dbdb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc5a",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 62.105,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81954,
    "c": 0.13714,
    "h": 110.9
  },
  "luminance": 0.56203
}

Semantic roles & 50–950 ramp

primary
#C8CC5A
secondary
#42408A
accent
#4CDC51
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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