#C2D671#C2D671

#C2D671 is a very light, vivid yellow-green. Relative luminance 0.608; OKLCH L 83.9% C 0.129 H 118.5°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#C2D671
RGBrgb(194, 214, 113)
HSLhsl(72, 55%, 64%)
HSVhsv(72, 47%, 84%)
CMYKcmyk(9.3%, 0%, 47.2%, 16.1%)
CIE-LABlab(82.25, -21.81, 47.33)
CIE-LCHlch(82.25, 52.11, 114.74°)
OKLaboklab(83.94% -0.0614 0.1132)
OKLCHoklch(83.94% 0.129 118.5)
XYZxyz(49.2757, 60.7550, 24.7506)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D671 #8571D6
analogous
#D6B871 #C2D671 #90D671
triadic
#C2D671 #71C2D6 #D671C2
tetradic
#C2D671 #71D6B8 #8571D6 #D67190
square
#C2D671 #71D6B8 #8571D6 #D67190
split-complementary
#C2D671 #7190D6 #B871D6
monochromatic
#889F2E #AEC842 #C2D671 #D6E4A0 #EBF1D0

Accessibility & contrast

On white

1.60
#C2D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#C2D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D671
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D671#FFFFFF#000000##000000
##C2D6711.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC68
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#CBCDBE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c2d671;
/* rgb */ color: rgb(194, 214, 113);
/* oklch */ color: oklch(83.9% 0.129 118.5);
Tailwind
colors: {
  custom: {
    50: '#d6e29c',
    500: '#c2d671',
    950: '#000000',
  },
}
SCSS
$custom: #c2d671;
$custom-light: #d6e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d671",
  "rgb": {
    "r": 194,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 71.881,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83936,
    "c": 0.12874,
    "h": 118.5
  },
  "luminance": 0.60755
}

Semantic roles & 50–950 ramp

primary
#C2D671
secondary
#5A48A3
accent
#23C342
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #C2D671

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

Preview Lab → · Contrast checker → · Palette generator →

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