#C2D951#C2D951

#C2D951 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.2% C 0.161 H 118.2°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#C2D951
RGBrgb(194, 217, 81)
HSLhsl(70, 64%, 58%)
HSVhsv(70, 63%, 85%)
CMYKcmyk(10.6%, 0%, 62.7%, 14.9%)
CIE-LABlab(82.75, -25.96, 62.28)
CIE-LCHlch(82.75, 67.47, 112.63°)
OKLaboklab(84.24% -0.0761 0.1421)
OKLCHoklch(84.24% 0.161 118.2)
XYZxyz(48.5471, 61.6895, 17.1328)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D951 #6851D9
analogous
#D9AC51 #C2D951 #7ED951
triadic
#C2D951 #51C2D9 #D951C2
tetradic
#C2D951 #51D9AC #6851D9 #D9517E
square
#C2D951 #51D9AC #6851D9 #D9517E
split-complementary
#C2D951 #517ED9 #AC51D9
monochromatic
#7D901F #A9C22A #C2D951 #D4E483 #E5EFB5

Accessibility & contrast

On white

1.57
#C2D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#C2D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D951
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D951#FFFFFF#000000##000000
##C2D9511.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE40
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#CDCEBD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c2d951;
/* rgb */ color: rgb(194, 217, 81);
/* oklch */ color: oklch(84.2% 0.161 118.2);
Tailwind
colors: {
  custom: {
    50: '#d7e488',
    500: '#c2d951',
    950: '#000000',
  },
}
SCSS
$custom: #c2d951;
$custom-light: #d7e488;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d951",
  "rgb": {
    "r": 194,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 70.147,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84235,
    "c": 0.16117,
    "h": 118.2
  },
  "luminance": 0.61689
}

Semantic roles & 50–950 ramp

primary
#C2D951
secondary
#483995
accent
#41E75D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C2D951

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

Preview Lab → · Contrast checker → · Palette generator →

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