#C5D87F#C5D87F

#C5D87F is a very light, moderate yellow-green. Relative luminance 0.625; OKLCH L 84.8% C 0.116 H 118.8°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#C5D87F
RGBrgb(197, 216, 127)
HSLhsl(73, 53%, 67%)
HSVhsv(73, 41%, 85%)
CMYKcmyk(8.8%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.19, -20.13, 41.69)
CIE-LCHlch(83.19, 46.30, 115.78°)
OKLaboklab(84.8% -0.0557 0.1014)
OKLCHoklch(84.8% 0.116 118.8)
XYZxyz(51.4128, 62.5146, 29.4326)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5D87F #927FD8
analogous
#D8BF7F #C5D87F #99D87F
triadic
#C5D87F #7FC5D8 #D87FC5
tetradic
#C5D87F #7FD8BF #927FD8 #D87F99
square
#C5D87F #7FD8BF #927FD8 #D87F99
split-complementary
#C5D87F #7F99D8 #BF7FD8
monochromatic
#90A934 #B0CA50 #C5D87F #DAE6AE #F0F5DD

Accessibility & contrast

On white

1.56
#C5D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#C5D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5D87F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5D87F#FFFFFF#000000##000000
##C5D87F1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF78
Deuteranopia (green-blind)
#E0D083
Tritanopia (blue-blind)
#CDCFC2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c5d87f;
/* rgb */ color: rgb(197, 216, 127);
/* oklch */ color: oklch(84.8% 0.116 118.8);
Tailwind
colors: {
  custom: {
    50: '#d8e4a5',
    500: '#c5d87f',
    950: '#000000',
  },
}
SCSS
$custom: #c5d87f;
$custom-light: #d8e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c5d87f",
  "rgb": {
    "r": 197,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 72.809,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.848,
    "c": 0.11568,
    "h": 118.8
  },
  "luminance": 0.62514
}

Semantic roles & 50–950 ramp

primary
#C5D87F
secondary
#634FAC
accent
#25C146
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C5D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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