#C5D581#C5D581

#C5D581 is a very light, moderate yellow-green. Relative luminance 0.610; OKLCH L 84.2% C 0.109 H 117.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#C5D581
RGBrgb(197, 213, 129)
HSLhsl(71, 50%, 67%)
HSVhsv(71, 39%, 84%)
CMYKcmyk(7.5%, 0%, 39.4%, 16.5%)
CIE-LABlab(82.40, -18.43, 39.70)
CIE-LCHlch(82.40, 43.77, 114.90°)
OKLaboklab(84.18% -0.0507 0.097)
OKLCHoklch(84.18% 0.109 117.6)
XYZxyz(50.7828, 61.0441, 29.8720)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D581 #9181D5
analogous
#D5BB81 #C5D581 #9BD581
triadic
#C5D581 #81C5D5 #D581C5
tetradic
#C5D581 #81D5BB #9181D5 #D5819B
square
#C5D581 #81D5BB #9181D5 #D5819B
split-complementary
#C5D581 #819BD5 #BB81D5
monochromatic
#90A537 #B0C653 #C5D581 #DAE4AF #EFF4DD

Accessibility & contrast

On white

1.59
#C5D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#C5D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D581
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D581#FFFFFF#000000##000000
##C5D5811.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD7B
Deuteranopia (green-blind)
#DECE85
Tritanopia (blue-blind)
#CDCDC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c5d581;
/* rgb */ color: rgb(197, 213, 129);
/* oklch */ color: oklch(84.2% 0.109 117.6);
Tailwind
colors: {
  custom: {
    50: '#d8e1a7',
    500: '#c5d581',
    950: '#000000',
  },
}
SCSS
$custom: #c5d581;
$custom-light: #d8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d581",
  "rgb": {
    "r": 197,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 71.429,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84183,
    "c": 0.10943,
    "h": 117.6
  },
  "luminance": 0.61044
}

Semantic roles & 50–950 ramp

primary
#C5D581
secondary
#6251A9
accent
#28BD45
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#14150F
muted
#838480

Preview Lab

Preview with #C5D581

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

Preview Lab → · Contrast checker → · Palette generator →

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