#C8D873#C8D873

#C8D873 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.128 H 116.6°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#C8D873
RGBrgb(200, 216, 115)
HSLhsl(70, 56%, 65%)
HSVhsv(70, 47%, 85%)
CMYKcmyk(7.4%, 0%, 46.8%, 15.3%)
CIE-LABlab(83.25, -20.24, 47.69)
CIE-LCHlch(83.25, 51.80, 113.00°)
OKLaboklab(84.85% -0.0571 0.114)
OKLCHoklch(84.85% 0.128 116.6)
XYZxyz(51.4703, 62.6294, 25.5935)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D873 #8373D8
analogous
#D8B673 #C8D873 #95D873
triadic
#C8D873 #73C8D8 #D873C8
tetradic
#C8D873 #73D8B6 #8373D8 #D87395
square
#C8D873 #73D8B6 #8373D8 #D87395
split-complementary
#C8D873 #7395D8 #B673D8
monochromatic
#91A32D #B5CB43 #C8D873 #DBE5A3 #EEF3D3

Accessibility & contrast

On white

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

On black

13.53
#C8D873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D873
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D873#FFFFFF#000000##000000
##C8D8731.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d873;
/* rgb */ color: rgb(200, 216, 115);
/* oklch */ color: oklch(84.9% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae49d',
    500: '#c8d873',
    950: '#000000',
  },
}
SCSS
$custom: #c8d873;
$custom-light: #dae49d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d873",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 115
  },
  "hsl": {
    "h": 69.505,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.12752,
    "h": 116.6
  },
  "luminance": 0.62629
}

Semantic roles & 50–950 ramp

primary
#C8D873
secondary
#5748A7
accent
#22C43B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D873

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

Preview Lab → · Contrast checker → · Palette generator →

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