#C8D166#C8D166

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

Color values

HEX#C8D166
RGBrgb(200, 209, 102)
HSLhsl(65, 54%, 61%)
HSVhsv(65, 51%, 82%)
CMYKcmyk(4.3%, 0%, 51.2%, 18%)
CIE-LABlab(81.20, -18.01, 51.41)
CIE-LCHlch(81.20, 54.48, 109.31°)
OKLaboklab(83.17% -0.052 0.1211)
OKLCHoklch(83.17% 0.132 113.2)
XYZxyz(49.0191, 58.8404, 21.3429)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D166 #6F66D1
analogous
#D1A466 #C8D166 #92D166
triadic
#C8D166 #66C8D1 #D166C8
tetradic
#C8D166 #66D1A4 #6F66D1 #D16692
square
#C8D166 #66D1A4 #6F66D1 #D16692
split-complementary
#C8D166 #6692D1 #A466D1
monochromatic
#88912C #B5C03A #C8D166 #D9DF95 #EAEDC4

Accessibility & contrast

On white

1.64
#C8D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#C8D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D166
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D166#FFFFFF#000000##000000
##C8D1661.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#DECB6C
Tritanopia (blue-blind)
#D3C6B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d166;
/* rgb */ color: rgb(200, 209, 102);
/* oklch */ color: oklch(83.2% 0.132 113.2);
Tailwind
colors: {
  custom: {
    50: '#dbdf94',
    500: '#c8d166',
    950: '#000000',
  },
}
SCSS
$custom: #c8d166;
$custom-light: #dbdf94;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d166",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 65.047,
    "s": 53.769,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83171,
    "c": 0.13181,
    "h": 113.2
  },
  "luminance": 0.5884
}

Semantic roles & 50–950 ramp

primary
#C8D166
secondary
#4B4497
accent
#24C131
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C8D166

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

Preview Lab → · Contrast checker → · Palette generator →

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