#C8D851#C8D851

#C8D851 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.5% C 0.158 H 115.6°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C8D851
RGBrgb(200, 216, 81)
HSLhsl(67, 63%, 58%)
HSVhsv(67, 63%, 85%)
CMYKcmyk(7.4%, 0%, 62.5%, 15.3%)
CIE-LABlab(82.91, -23.06, 62.58)
CIE-LCHlch(82.91, 66.69, 110.23°)
OKLaboklab(84.47% -0.0683 0.1426)
OKLCHoklch(84.47% 0.158 115.6)
XYZxyz(49.8616, 61.9859, 17.1208)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D851 #6151D8
analogous
#D8A451 #C8D851 #84D851
triadic
#C8D851 #51C8D8 #D851C8
tetradic
#C8D851 #51D8A4 #6151D8 #D85184
square
#C8D851 #51D8A4 #6151D8 #D85184
split-complementary
#C8D851 #5184D8 #A451D8
monochromatic
#828F20 #AFC12B #C8D851 #D8E383 #E8EEB5

Accessibility & contrast

On white

1.57
#C8D851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C8D851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D851
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D851#FFFFFF#000000##000000
##C8D8511.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE40
Deuteranopia (green-blind)
#E5D05A
Tritanopia (blue-blind)
#D4CCBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c8d851;
/* rgb */ color: rgb(200, 216, 81);
/* oklch */ color: oklch(84.5% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce488',
    500: '#c8d851',
    950: '#000000',
  },
}
SCSS
$custom: #c8d851;
$custom-light: #dce488;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d851",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 81
  },
  "hsl": {
    "h": 67.111,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84469,
    "c": 0.15811,
    "h": 115.6
  },
  "luminance": 0.61985
}

Semantic roles & 50–950 ramp

primary
#C8D851
secondary
#443994
accent
#41E655
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D851

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

Preview Lab → · Contrast checker → · Palette generator →

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