#C8D162#C8D162

#C8D162 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.136 H 113.2°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#C8D162
RGBrgb(200, 209, 98)
HSLhsl(65, 55%, 60%)
HSVhsv(65, 53%, 82%)
CMYKcmyk(4.3%, 0%, 53.1%, 18%)
CIE-LABlab(81.16, -18.36, 53.22)
CIE-LCHlch(81.16, 56.30, 109.03°)
OKLaboklab(83.12% -0.0534 0.1247)
OKLCHoklch(83.12% 0.136 113.2)
XYZxyz(48.8255, 58.7630, 20.3232)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D162 #6B62D1
analogous
#D1A362 #C8D162 #90D162
triadic
#C8D162 #62C8D1 #D162C8
tetradic
#C8D162 #62D1A3 #6B62D1 #D16290
square
#C8D162 #62D1A3 #6B62D1 #D16290
split-complementary
#C8D162 #6290D1 #A362D1
monochromatic
#878F2A #B3BE38 #C8D162 #D9DF91 #E9EDC1

Accessibility & contrast

On white

1.65
#C8D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#C8D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D162
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D162#FFFFFF#000000##000000
##C8D1621.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#DECB68
Tritanopia (blue-blind)
#D3C6B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d162;
/* rgb */ color: rgb(200, 209, 98);
/* oklch */ color: oklch(83.1% 0.136 113.2);
Tailwind
colors: {
  custom: {
    50: '#dbdf92',
    500: '#c8d162',
    950: '#000000',
  },
}
SCSS
$custom: #c8d162;
$custom-light: #dbdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d162",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 64.865,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83123,
    "c": 0.13559,
    "h": 113.2
  },
  "luminance": 0.58762
}

Semantic roles & 50–950 ramp

primary
#C8D162
secondary
#494295
accent
#23C230
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D162

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

Preview Lab → · Contrast checker → · Palette generator →

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