#C8CD99#C8CD99

#C8CD99 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.069 H 112.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#C8CD99
RGBrgb(200, 205, 153)
HSLhsl(66, 34%, 70%)
HSVhsv(66, 25%, 80%)
CMYKcmyk(2.4%, 0%, 25.4%, 19.6%)
CIE-LABlab(80.87, -10.20, 25.40)
CIE-LCHlch(80.87, 27.37, 111.88°)
OKLaboklab(83.15% -0.0264 0.0641)
OKLCHoklch(83.15% 0.069 112.4)
XYZxyz(51.4003, 58.2424, 38.6649)
Luminance0.5824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD99 #9E99CD
analogous
#CDB899 #C8CD99 #AECD99
triadic
#C8CD99 #99C8CD #CD99C8
tetradic
#C8CD99 #99CDB8 #9E99CD #CD99AE
square
#C8CD99 #99CDB8 #9E99CD #CD99AE
split-complementary
#C8CD99 #99AECD #B899CD
monochromatic
#969E4D #B2B970 #C8CD99 #DEE1C2 #F4F5EA

Accessibility & contrast

On white

1.66
#C8CD99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#C8CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD99
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD99#FFFFFF#000000##000000
##C8CD991.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C896
Deuteranopia (green-blind)
#D5CA9B
Tritanopia (blue-blind)
#CFC7BF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8cd99;
/* rgb */ color: rgb(200, 205, 153);
/* oklch */ color: oklch(83.1% 0.069 112.4);
Tailwind
colors: {
  custom: {
    50: '#d9dcb7',
    500: '#c8cd99',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd99;
$custom-light: #d9dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd99",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 65.769,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.83149,
    "c": 0.06933,
    "h": 112.4
  },
  "luminance": 0.58242
}

Semantic roles & 50–950 ramp

primary
#C8CD99
secondary
#6E68A2
accent
#38AD44
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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