#C8D171#C8D171

#C8D171 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.121 H 113.4°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#C8D171
RGBrgb(200, 209, 113)
HSLhsl(66, 51%, 63%)
HSVhsv(66, 46%, 82%)
CMYKcmyk(4.3%, 0%, 45.9%, 18%)
CIE-LABlab(81.33, -16.98, 46.32)
CIE-LCHlch(81.33, 49.33, 110.14°)
OKLaboklab(83.31% -0.048 0.1109)
OKLCHoklch(83.31% 0.121 113.4)
XYZxyz(49.6012, 59.0733, 24.4089)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D171 #7A71D1
analogous
#D1AA71 #C8D171 #98D171
triadic
#C8D171 #71C8D1 #D171C8
tetradic
#C8D171 #71D1AA #7A71D1 #D17198
square
#C8D171 #71D1AA #7A71D1 #D17198
split-complementary
#C8D171 #7198D1 #AA71D1
monochromatic
#8D9731 #B6C243 #C8D171 #DAE09F #ECEFCD

Accessibility & contrast

On white

1.64
#C8D171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#C8D171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D171
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D171#FFFFFF#000000##000000
##C8D1711.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#D2C7BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d171;
/* rgb */ color: rgb(200, 209, 113);
/* oklch */ color: oklch(83.3% 0.121 113.4);
Tailwind
colors: {
  custom: {
    50: '#dadf9c',
    500: '#c8d171',
    950: '#000000',
  },
}
SCSS
$custom: #c8d171;
$custom-light: #dadf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d171",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 65.625,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83314,
    "c": 0.12081,
    "h": 113.4
  },
  "luminance": 0.59073
}

Semantic roles & 50–950 ramp

primary
#C8D171
secondary
#524A9C
accent
#27BE35
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D171

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

Preview Lab → · Contrast checker → · Palette generator →

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