#C2D862#C2D862

#C2D862 is a very light, vivid yellow-green. Relative luminance 0.615; OKLCH L 84.2% C 0.146 H 118.5°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#C2D862
RGBrgb(194, 216, 98)
HSLhsl(71, 60%, 62%)
HSVhsv(71, 55%, 85%)
CMYKcmyk(10.2%, 0%, 54.6%, 15.3%)
CIE-LABlab(82.63, -24.17, 54.80)
CIE-LCHlch(82.63, 59.89, 113.80°)
OKLaboklab(84.19% -0.0694 0.1281)
OKLCHoklch(84.19% 0.146 118.5)
XYZxyz(49.0092, 61.4633, 20.8347)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D862 #7862D8
analogous
#D8B362 #C2D862 #87D862
triadic
#C2D862 #62C2D8 #D862C2
tetradic
#C2D862 #62D8B3 #7862D8 #D86287
square
#C2D862 #62D8B3 #7862D8 #D86287
split-complementary
#C2D862 #6287D8 #B362D8
monochromatic
#849926 #AECA32 #C2D862 #D5E493 #E8F0C4

Accessibility & contrast

On white

1.58
#C2D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#C2D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D862
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D862#FFFFFF#000000##000000
##C2D8621.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD56
Deuteranopia (green-blind)
#E2CE69
Tritanopia (blue-blind)
#CCCEBE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2d862;
/* rgb */ color: rgb(194, 216, 98);
/* oklch */ color: oklch(84.2% 0.146 118.5);
Tailwind
colors: {
  custom: {
    50: '#d7e492',
    500: '#c2d862',
    950: '#000000',
  },
}
SCSS
$custom: #c2d862;
$custom-light: #d7e492;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d862",
  "rgb": {
    "r": 194,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 71.186,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84187,
    "c": 0.14574,
    "h": 118.5
  },
  "luminance": 0.61463
}

Semantic roles & 50–950 ramp

primary
#C2D862
secondary
#52409E
accent
#1EC83D
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C2D862

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

Preview Lab → · Contrast checker → · Palette generator →

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