#C8D187#C8D187

#C8D187 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.097 H 114.2°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#C8D187
RGBrgb(200, 209, 135)
HSLhsl(67, 45%, 67%)
HSVhsv(67, 35%, 82%)
CMYKcmyk(4.3%, 0%, 35.4%, 18%)
CIE-LABlab(81.64, -14.57, 35.73)
CIE-LCHlch(81.64, 38.58, 112.18°)
OKLaboklab(83.66% -0.0395 0.0881)
OKLCHoklch(83.66% 0.097 114.2)
XYZxyz(50.9933, 59.6301, 31.7404)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D187 #9087D1
analogous
#D1B587 #C8D187 #A3D187
triadic
#C8D187 #87C8D1 #D187C8
tetradic
#C8D187 #87D1B5 #9087D1 #D187A3
square
#C8D187 #87D1B5 #9087D1 #D187A3
split-complementary
#C8D187 #87A3D1 #B587D1
monochromatic
#94A03D #B4C05B #C8D187 #DCE2B3 #F1F3DF

Accessibility & contrast

On white

1.62
#C8D187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#C8D187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D187
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D187#FFFFFF#000000##000000
##C8D1871.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA82
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#D0C9BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d187;
/* rgb */ color: rgb(200, 209, 135);
/* oklch */ color: oklch(83.7% 0.097 114.2);
Tailwind
colors: {
  custom: {
    50: '#d9dfab',
    500: '#c8d187',
    950: '#000000',
  },
}
SCSS
$custom: #c8d187;
$custom-light: #d9dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d187",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 135
  },
  "hsl": {
    "h": 67.297,
    "s": 44.578,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83657,
    "c": 0.09652,
    "h": 114.2
  },
  "luminance": 0.5963
}

Semantic roles & 50–950 ramp

primary
#C8D187
secondary
#6057A5
accent
#2EB83F
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8D187

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

Preview Lab → · Contrast checker → · Palette generator →

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