#C2D178#C2D178

#C2D178 is a very light, moderate yellow-green. Relative luminance 0.584; OKLCH L 82.9% C 0.115 H 116.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#C2D178
RGBrgb(194, 209, 120)
HSLhsl(70, 49%, 65%)
HSVhsv(70, 43%, 82%)
CMYKcmyk(7.2%, 0%, 42.6%, 18%)
CIE-LABlab(80.98, -18.61, 42.34)
CIE-LCHlch(80.98, 46.25, 113.73°)
OKLaboklab(82.95% -0.0518 0.1025)
OKLCHoklch(82.95% 0.115 116.8)
XYZxyz(48.4391, 58.4267, 26.4914)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D178 #8778D1
analogous
#D1B378 #C2D178 #96D178
triadic
#C2D178 #78C2D1 #D178C2
tetradic
#C2D178 #78D1B3 #8778D1 #D17896
square
#C2D178 #78D1B3 #8778D1 #D17896
split-complementary
#C2D178 #7896D1 #B378D1
monochromatic
#899A35 #ADC14A #C2D178 #D7E1A6 #EBF0D3

Accessibility & contrast

On white

1.66
#C2D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#C2D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D178
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D178#FFFFFF#000000##000000
##C2D1781.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#DACA7C
Tritanopia (blue-blind)
#CBC8BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c2d178;
/* rgb */ color: rgb(194, 209, 120);
/* oklch */ color: oklch(82.9% 0.115 116.8);
Tailwind
colors: {
  custom: {
    50: '#d6dfa0',
    500: '#c2d178',
    950: '#000000',
  },
}
SCSS
$custom: #c2d178;
$custom-light: #d6dfa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d178",
  "rgb": {
    "r": 194,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 70.112,
    "s": 49.171,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82948,
    "c": 0.11483,
    "h": 116.8
  },
  "luminance": 0.58426
}

Semantic roles & 50–950 ramp

primary
#C2D178
secondary
#5C4E9F
accent
#29BC42
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #C2D178

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

Preview Lab → · Contrast checker → · Palette generator →

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