#C8D951#C8D951

#C8D951 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.7% C 0.159 H 116.0°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#C8D951
RGBrgb(200, 217, 81)
HSLhsl(68, 64%, 58%)
HSVhsv(68, 63%, 85%)
CMYKcmyk(7.8%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.18, -23.55, 62.87)
CIE-LCHlch(83.18, 67.13, 110.53°)
OKLaboklab(84.69% -0.0697 0.1432)
OKLCHoklch(84.69% 0.159 116)
XYZxyz(50.1186, 62.4998, 17.2064)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D951 #6251D9
analogous
#D9A651 #C8D951 #84D951
triadic
#C8D951 #51C8D9 #D951C8
tetradic
#C8D951 #51D9A6 #6251D9 #D95184
square
#C8D951 #51D9A6 #6251D9 #D95184
split-complementary
#C8D951 #5184D9 #A651D9
monochromatic
#82901F #AFC22A #C8D951 #D8E483 #E8EFB5

Accessibility & contrast

On white

1.56
#C8D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#C8D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D951
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D951#FFFFFF#000000##000000
##C8D9511.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#D4CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d951;
/* rgb */ color: rgb(200, 217, 81);
/* oklch */ color: oklch(84.7% 0.159 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce488',
    500: '#c8d951',
    950: '#000000',
  },
}
SCSS
$custom: #c8d951;
$custom-light: #dce488;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d951",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 67.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84688,
    "c": 0.15926,
    "h": 116
  },
  "luminance": 0.62499
}

Semantic roles & 50–950 ramp

primary
#C8D951
secondary
#443995
accent
#41E755
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D951

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

Preview Lab → · Contrast checker → · Palette generator →

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