#C2D271#C2D271

#C2D271 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.1% C 0.124 H 116.9°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#C2D271
RGBrgb(194, 210, 113)
HSLhsl(70, 52%, 63%)
HSVhsv(70, 46%, 82%)
CMYKcmyk(7.6%, 0%, 46.2%, 17.6%)
CIE-LABlab(81.16, -19.85, 46.00)
CIE-LCHlch(81.16, 50.10, 113.34°)
OKLaboklab(83.06% -0.0558 0.1102)
OKLCHoklch(83.06% 0.124 116.9)
XYZxyz(48.2758, 58.7552, 24.4173)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2D271 #8171D2
analogous
#D2B171 #C2D271 #91D271
triadic
#C2D271 #71C2D2 #D271C2
tetradic
#C2D271 #71D2B1 #8171D2 #D27191
square
#C2D271 #71D2B1 #8171D2 #D27191
split-complementary
#C2D271 #7191D2 #B171D2
monochromatic
#879830 #AEC343 #C2D271 #D6E19F #EAEFCE

Accessibility & contrast

On white

1.65
#C2D271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#C2D271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2D271
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2D271#FFFFFF#000000##000000
##C2D2711.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC969
Deuteranopia (green-blind)
#DCCA76
Tritanopia (blue-blind)
#CBC9BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c2d271;
/* rgb */ color: rgb(194, 210, 113);
/* oklch */ color: oklch(83.1% 0.124 116.9);
Tailwind
colors: {
  custom: {
    50: '#d6df9c',
    500: '#c2d271',
    950: '#000000',
  },
}
SCSS
$custom: #c2d271;
$custom-light: #d6df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2d271",
  "rgb": {
    "r": 194,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 69.897,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83064,
    "c": 0.12356,
    "h": 116.9
  },
  "luminance": 0.58755
}

Semantic roles & 50–950 ramp

primary
#C2D271
secondary
#574A9E
accent
#26BF3F
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150E
muted
#83847F

Preview Lab

Preview with #C2D271

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

Preview Lab → · Contrast checker → · Palette generator →

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