#C4D87F#C4D87F

#C4D87F is a very light, moderate yellow-green. Relative luminance 0.624; OKLCH L 84.7% C 0.116 H 119.3°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#C4D87F
RGBrgb(196, 216, 127)
HSLhsl(73, 53%, 67%)
HSVhsv(73, 41%, 85%)
CMYKcmyk(9.3%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.12, -20.52, 41.59)
CIE-LCHlch(83.12, 46.38, 116.26°)
OKLaboklab(84.73% -0.0568 0.1012)
OKLCHoklch(84.73% 0.116 119.3)
XYZxyz(51.1517, 62.3800, 29.4204)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4D87F #937FD8
analogous
#D8BF7F #C4D87F #98D87F
triadic
#C4D87F #7FC4D8 #D87FC4
tetradic
#C4D87F #7FD8BF #937FD8 #D87F98
square
#C4D87F #7FD8BF #937FD8 #D87F98
split-complementary
#C4D87F #7F98D8 #BF7FD8
monochromatic
#8FA934 #AECA50 #C4D87F #DAE6AE #EFF5DD

Accessibility & contrast

On white

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

On black

13.48
#C4D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4D87F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4D87F#FFFFFF#000000##000000
##C4D87F1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E0CF83
Tritanopia (blue-blind)
#CCCFC2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c4d87f;
/* rgb */ color: rgb(196, 216, 127);
/* oklch */ color: oklch(84.7% 0.116 119.3);
Tailwind
colors: {
  custom: {
    50: '#d7e4a5',
    500: '#c4d87f',
    950: '#000000',
  },
}
SCSS
$custom: #c4d87f;
$custom-light: #d7e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c4d87f",
  "rgb": {
    "r": 196,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 73.483,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84726,
    "c": 0.11599,
    "h": 119.3
  },
  "luminance": 0.6238
}

Semantic roles & 50–950 ramp

primary
#C4D87F
secondary
#644FAC
accent
#25C148
background
#FEFEFC
surface
#FBFCF6
border
#D4D5D0
text
#14150F
muted
#838480

Preview Lab

Preview with #C4D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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