#C8D562#C8D562

#C8D562 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.140 H 114.8°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#C8D562
RGBrgb(200, 213, 98)
HSLhsl(67, 58%, 61%)
HSVhsv(67, 54%, 84%)
CMYKcmyk(6.1%, 0%, 54%, 16.5%)
CIE-LABlab(82.24, -20.33, 54.47)
CIE-LCHlch(82.24, 58.14, 110.46°)
OKLaboklab(83.99% -0.0589 0.1274)
OKLCHoklch(83.99% 0.14 114.8)
XYZxyz(49.8192, 60.7504, 20.6545)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D562 #6F62D5
analogous
#D5A862 #C8D562 #8ED562
triadic
#C8D562 #62C8D5 #D562C8
tetradic
#C8D562 #62D5A8 #6F62D5 #D5628E
square
#C8D562 #62D5A8 #6F62D5 #D5628E
split-complementary
#C8D562 #628ED5 #A862D5
monochromatic
#889528 #B5C535 #C8D562 #D9E292 #EAEFC3

Accessibility & contrast

On white

1.60
#C8D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#C8D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D562
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D562#FFFFFF#000000##000000
##C8D5621.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC57
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#D3CABB
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c8d562;
/* rgb */ color: rgb(200, 213, 98);
/* oklch */ color: oklch(84.0% 0.140 114.8);
Tailwind
colors: {
  custom: {
    50: '#dbe192',
    500: '#c8d562',
    950: '#000000',
  },
}
SCSS
$custom: #c8d562;
$custom-light: #dbe192;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d562",
  "rgb": {
    "r": 200,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 66.783,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83989,
    "c": 0.14032,
    "h": 114.8
  },
  "luminance": 0.6075
}

Semantic roles & 50–950 ramp

primary
#C8D562
secondary
#4B419A
accent
#20C533
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D562

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

Preview Lab → · Contrast checker → · Palette generator →

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