#C8D451#C8D451

#C8D451 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.6% C 0.154 H 114.2°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C8D451
RGBrgb(200, 212, 81)
HSLhsl(65, 60%, 57%)
HSVhsv(65, 62%, 83%)
CMYKcmyk(5.7%, 0%, 61.8%, 16.9%)
CIE-LABlab(81.82, -21.12, 61.42)
CIE-LCHlch(81.82, 64.95, 108.98°)
OKLaboklab(83.6% -0.0629 0.1401)
OKLCHoklch(83.6% 0.154 114.2)
XYZxyz(48.8493, 59.9613, 16.7833)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D451 #5D51D4
analogous
#D49E51 #C8D451 #87D451
triadic
#C8D451 #51C8D4 #D451C8
tetradic
#C8D451 #51D49E #5D51D4 #D45187
square
#C8D451 #51D49E #5D51D4 #D45187
split-complementary
#C8D451 #5187D4 #9E51D4
monochromatic
#7F8922 #ADBA2E #C8D451 #D8E082 #E7ECB3

Accessibility & contrast

On white

1.62
#C8D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C8D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D451
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D451#FFFFFF#000000##000000
##C8D4511.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#D4C8B9
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c8d451;
/* rgb */ color: rgb(200, 212, 81);
/* oklch */ color: oklch(83.6% 0.154 114.2);
Tailwind
colors: {
  custom: {
    50: '#dce188',
    500: '#c8d451',
    950: '#000000',
  },
}
SCSS
$custom: #c8d451;
$custom-light: #dce188;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d451",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 65.496,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83597,
    "c": 0.15359,
    "h": 114.2
  },
  "luminance": 0.5996
}

Semantic roles & 50–950 ramp

primary
#C8D451
secondary
#423A8F
accent
#44E453
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D451

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

Preview Lab → · Contrast checker → · Palette generator →

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