#C8D871#C8D871

#C8D871 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.8% C 0.130 H 116.5°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C8D871
RGBrgb(200, 216, 113)
HSLhsl(69, 57%, 65%)
HSVhsv(69, 48%, 85%)
CMYKcmyk(7.4%, 0%, 47.7%, 15.3%)
CIE-LABlab(83.22, -20.44, 48.62)
CIE-LCHlch(83.22, 52.74, 112.80°)
OKLaboklab(84.82% -0.0578 0.1159)
OKLCHoklch(84.82% 0.13 116.5)
XYZxyz(51.3565, 62.5839, 24.9940)
Luminance0.6258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D871 #8171D8
analogous
#D8B471 #C8D871 #95D871
triadic
#C8D871 #71C8D8 #D871C8
tetradic
#C8D871 #71D8B4 #8171D8 #D87195
square
#C8D871 #71D8B4 #8171D8 #D87195
split-complementary
#C8D871 #7195D8 #B471D8
monochromatic
#90A22D #B5CB41 #C8D871 #DBE5A1 #EDF2D1

Accessibility & contrast

On white

1.55
#C8D871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C8D871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D871
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D871#FFFFFF#000000##000000
##C8D8711.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF68
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#D2CEC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d871;
/* rgb */ color: rgb(200, 216, 113);
/* oklch */ color: oklch(84.8% 0.130 116.5);
Tailwind
colors: {
  custom: {
    50: '#dae49c',
    500: '#c8d871',
    950: '#000000',
  },
}
SCSS
$custom: #c8d871;
$custom-light: #dae49c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d871",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 69.32,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84825,
    "c": 0.12956,
    "h": 116.5
  },
  "luminance": 0.62583
}

Semantic roles & 50–950 ramp

primary
#C8D871
secondary
#5647A6
accent
#21C43A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D871

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

Preview Lab → · Contrast checker → · Palette generator →

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