#C8D178#C8D178

#C8D178 is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.113 H 113.6°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C8D178
RGBrgb(200, 209, 120)
HSLhsl(66, 49%, 65%)
HSVhsv(66, 43%, 82%)
CMYKcmyk(4.3%, 0%, 42.6%, 18%)
CIE-LABlab(81.42, -16.27, 43.00)
CIE-LCHlch(81.42, 45.97, 110.72°)
OKLaboklab(83.42% -0.0454 0.1039)
OKLCHoklch(83.42% 0.113 113.6)
XYZxyz(50.0106, 59.2370, 26.5650)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D178 #8178D1
analogous
#D1AD78 #C8D178 #9CD178
triadic
#C8D178 #78C8D1 #D178C8
tetradic
#C8D178 #78D1AD #8178D1 #D1789C
square
#C8D178 #78D1AD #8178D1 #D1789C
split-complementary
#C8D178 #789CD1 #AD78D1
monochromatic
#909A35 #B5C14A #C8D178 #DBE1A6 #EDF0D3

Accessibility & contrast

On white

1.63
#C8D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#C8D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D178
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D178#FFFFFF#000000##000000
##C8D1781.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC971
Deuteranopia (green-blind)
#DCCB7C
Tritanopia (blue-blind)
#D2C8BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d178;
/* rgb */ color: rgb(200, 209, 120);
/* oklch */ color: oklch(83.4% 0.113 113.6);
Tailwind
colors: {
  custom: {
    50: '#dadfa0',
    500: '#c8d178',
    950: '#000000',
  },
}
SCSS
$custom: #c8d178;
$custom-light: #dadfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d178",
  "rgb": {
    "r": 200,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 66.067,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83415,
    "c": 0.11339,
    "h": 113.6
  },
  "luminance": 0.59236
}

Semantic roles & 50–950 ramp

primary
#C8D178
secondary
#564E9F
accent
#29BC38
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D178

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

Preview Lab → · Contrast checker → · Palette generator →

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