#C8D962#C8D962

#C8D962 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.145 H 116.4°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C8D962
RGBrgb(200, 217, 98)
HSLhsl(69, 61%, 62%)
HSVhsv(69, 55%, 85%)
CMYKcmyk(7.8%, 0%, 54.8%, 14.9%)
CIE-LABlab(83.33, -22.28, 55.72)
CIE-LCHlch(83.33, 60.01, 111.80°)
OKLaboklab(84.86% -0.0644 0.13)
OKLCHoklch(84.86% 0.145 116.4)
XYZxyz(50.8377, 62.7875, 20.9940)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D962 #7362D9
analogous
#D9AE62 #C8D962 #8DD962
triadic
#C8D962 #62C8D9 #D962C8
tetradic
#C8D962 #62D9AE #7362D9 #D9628D
square
#C8D962 #62D9AE #7362D9 #D9628D
split-complementary
#C8D962 #628DD9 #AE62D9
monochromatic
#8A9B26 #B6CC31 #C8D962 #D9E593 #EBF1C5

Accessibility & contrast

On white

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

On black

13.56
#C8D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D962
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D962#FFFFFF#000000##000000
##C8D9621.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E5D169
Tritanopia (blue-blind)
#D3CEBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8d962;
/* rgb */ color: rgb(200, 217, 98);
/* oklch */ color: oklch(84.9% 0.145 116.4);
Tailwind
colors: {
  custom: {
    50: '#dbe492',
    500: '#c8d962',
    950: '#000000',
  },
}
SCSS
$custom: #c8d962;
$custom-light: #dbe492;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d962",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 68.571,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84858,
    "c": 0.14512,
    "h": 116.4
  },
  "luminance": 0.62787
}

Semantic roles & 50–950 ramp

primary
#C8D962
secondary
#4E409F
accent
#1DC935
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D962

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

Preview Lab → · Contrast checker → · Palette generator →

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