#C8D954#C8D954

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

Color values

HEX#C8D954
RGBrgb(200, 217, 84)
HSLhsl(68, 64%, 59%)
HSVhsv(68, 61%, 85%)
CMYKcmyk(7.8%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.20, -23.34, 61.66)
CIE-LCHlch(83.20, 65.93, 110.74°)
OKLaboklab(84.71% -0.0688 0.141)
OKLCHoklch(84.71% 0.157 116)
XYZxyz(50.2335, 62.5458, 17.8121)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D954 #6554D9
analogous
#D9A854 #C8D954 #86D954
triadic
#C8D954 #54C8D9 #D954C8
tetradic
#C8D954 #54D9A8 #6554D9 #D95486
square
#C8D954 #54D9A8 #6554D9 #D95486
split-complementary
#C8D954 #5486D9 #A854D9
monochromatic
#849220 #B1C42C #C8D954 #D8E486 #E8EFB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D954#FFFFFF#000000##000000
##C8D9541.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)
#E7CE44
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#D4CDBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d954;
/* rgb */ color: rgb(200, 217, 84);
/* oklch */ color: oklch(84.7% 0.157 116.0);
Tailwind
colors: {
  custom: {
    50: '#dbe48a',
    500: '#c8d954',
    950: '#000000',
  },
}
SCSS
$custom: #c8d954;
$custom-light: #dbe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d954",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 67.669,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84715,
    "c": 0.15693,
    "h": 116
  },
  "luminance": 0.62545
}

Semantic roles & 50–950 ramp

primary
#C8D954
secondary
#463A97
accent
#41E756
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D954

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

Preview Lab → · Contrast checker → · Palette generator →

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