#C8D862#C8D862

#C8D862 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.6% C 0.144 H 116.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#C8D862
RGBrgb(200, 216, 98)
HSLhsl(68, 60%, 62%)
HSVhsv(68, 55%, 85%)
CMYKcmyk(7.4%, 0%, 54.6%, 15.3%)
CIE-LABlab(83.06, -21.79, 55.41)
CIE-LCHlch(83.06, 59.54, 111.47°)
OKLaboklab(84.64% -0.0631 0.1294)
OKLCHoklch(84.64% 0.144 116)
XYZxyz(50.5807, 62.2736, 20.9083)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D862 #7262D8
analogous
#D8AD62 #C8D862 #8DD862
triadic
#C8D862 #62C8D8 #D862C8
tetradic
#C8D862 #62D8AD #7262D8 #D8628D
square
#C8D862 #62D8AD #7262D8 #D8628D
split-complementary
#C8D862 #628DD8 #AD62D8
monochromatic
#8A9926 #B6CA32 #C8D862 #D9E493 #EAF0C4

Accessibility & contrast

On white

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

On black

13.45
#C8D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D862
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D862#FFFFFF#000000##000000
##C8D8621.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E4D069
Tritanopia (blue-blind)
#D3CDBE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d862;
/* rgb */ color: rgb(200, 216, 98);
/* oklch */ color: oklch(84.6% 0.144 116.0);
Tailwind
colors: {
  custom: {
    50: '#dbe492',
    500: '#c8d862',
    950: '#000000',
  },
}
SCSS
$custom: #c8d862;
$custom-light: #dbe492;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d862",
  "rgb": {
    "r": 200,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 68.136,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84641,
    "c": 0.14392,
    "h": 116
  },
  "luminance": 0.62273
}

Semantic roles & 50–950 ramp

primary
#C8D862
secondary
#4D409E
accent
#1EC835
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D862

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

Preview Lab → · Contrast checker → · Palette generator →

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