#C8CC7D#C8CC7D

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

Color values

HEX#C8CC7D
RGBrgb(200, 204, 125)
HSLhsl(63, 44%, 65%)
HSVhsv(63, 39%, 80%)
CMYKcmyk(2%, 0%, 38.7%, 20%)
CIE-LABlab(80.15, -13.21, 38.89)
CIE-LCHlch(80.15, 41.07, 108.76°)
OKLaboklab(82.42% -0.0363 0.0949)
OKLCHoklch(82.42% 0.102 110.9)
XYZxyz(49.1145, 56.9466, 27.8025)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC7D #817DCC
analogous
#CCA97D #C8CC7D #A1CC7D
triadic
#C8CC7D #7DC8CC #CC7DC8
tetradic
#C8CC7D #7DCCA9 #817DCC #CC7DA1
square
#C8CC7D #7DCCA9 #817DCC #CC7DA1
split-complementary
#C8CC7D #7DA1CC #A97DCC
monochromatic
#90943A #B5BB51 #C8CC7D #DBDDA9 #EDEED5

Accessibility & contrast

On white

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

On black

12.39
#C8CC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC7D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC7D#FFFFFF#000000##000000
##C8CC7D1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#D2C3B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c8cc7d;
/* rgb */ color: rgb(200, 204, 125);
/* oklch */ color: oklch(82.4% 0.102 110.9);
Tailwind
colors: {
  custom: {
    50: '#dadba4',
    500: '#c8cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc7d;
$custom-light: #dadba4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc7d",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 63.038,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82424,
    "c": 0.10159,
    "h": 110.9
  },
  "luminance": 0.56946
}

Semantic roles & 50–950 ramp

primary
#C8CC7D
secondary
#56529B
accent
#2FB736
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C8CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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