#C8D487#C8D487

#C8D487 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.101 H 115.8°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#C8D487
RGBrgb(200, 212, 135)
HSLhsl(69, 47%, 68%)
HSVhsv(69, 36%, 83%)
CMYKcmyk(5.7%, 0%, 36.3%, 16.9%)
CIE-LABlab(82.44, -16.07, 36.77)
CIE-LCHlch(82.44, 40.13, 113.61°)
OKLaboklab(84.3% -0.0438 0.0905)
OKLCHoklch(84.3% 0.101 115.8)
XYZxyz(51.7362, 61.1161, 31.9881)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D487 #9387D4
analogous
#D4B987 #C8D487 #A1D487
triadic
#C8D487 #87C8D4 #D487C8
tetradic
#C8D487 #87D4B9 #9387D4 #D487A1
square
#C8D487 #87D4B9 #9387D4 #D487A1
split-complementary
#C8D487 #87A1D4 #B987D4
monochromatic
#95A53B #B3C45A #C8D487 #DDE4B4 #F1F4E1

Accessibility & contrast

On white

1.59
#C8D487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#C8D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D487
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D487#FFFFFF#000000##000000
##C8D4871.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD81
Deuteranopia (green-blind)
#DDCE8B
Tritanopia (blue-blind)
#D0CCC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c8d487;
/* rgb */ color: rgb(200, 212, 135);
/* oklch */ color: oklch(84.3% 0.101 115.8);
Tailwind
colors: {
  custom: {
    50: '#d9e1ab',
    500: '#c8d487',
    950: '#000000',
  },
}
SCSS
$custom: #c8d487;
$custom-light: #d9e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d487",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 69.351,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84298,
    "c": 0.10051,
    "h": 115.8
  },
  "luminance": 0.61116
}

Semantic roles & 50–950 ramp

primary
#C8D487
secondary
#6355AA
accent
#2BBA41
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D487

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

Preview Lab → · Contrast checker → · Palette generator →

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