#C8D870#C8D870

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

Color values

HEX#C8D870
RGBrgb(200, 216, 112)
HSLhsl(69, 57%, 64%)
HSVhsv(69, 48%, 85%)
CMYKcmyk(7.4%, 0%, 48.1%, 15.3%)
CIE-LABlab(83.21, -20.54, 49.08)
CIE-LCHlch(83.21, 53.20, 112.71°)
OKLaboklab(84.81% -0.0582 0.1169)
OKLCHoklch(84.81% 0.131 116.5)
XYZxyz(51.3005, 62.5615, 24.6991)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D870 #8070D8
analogous
#D8B470 #C8D870 #94D870
triadic
#C8D870 #70C8D8 #D870C8
tetradic
#C8D870 #70D8B4 #8070D8 #D87094
square
#C8D870 #70D8B4 #8070D8 #D87094
split-complementary
#C8D870 #7094D8 #B470D8
monochromatic
#8FA22C #B6CB40 #C8D870 #DAE5A0 #EDF2D0

Accessibility & contrast

On white

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

On black

13.51
#C8D870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D870
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D870#FFFFFF#000000##000000
##C8D8701.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d870;
/* rgb */ color: rgb(200, 216, 112);
/* oklch */ color: oklch(84.8% 0.131 116.5);
Tailwind
colors: {
  custom: {
    50: '#dae49b',
    500: '#c8d870',
    950: '#000000',
  },
}
SCSS
$custom: #c8d870;
$custom-light: #dae49b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d870",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 112
  },
  "hsl": {
    "h": 69.231,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84812,
    "c": 0.13056,
    "h": 116.5
  },
  "luminance": 0.62561
}

Semantic roles & 50–950 ramp

primary
#C8D870
secondary
#5547A5
accent
#21C53A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D870

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

Preview Lab → · Contrast checker → · Palette generator →

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