#C9D87F#C9D87F

#C9D87F is a very light, moderate yellow-green. Relative luminance 0.631; OKLCH L 85.1% C 0.115 H 116.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#C9D87F
RGBrgb(201, 216, 127)
HSLhsl(70, 53%, 67%)
HSVhsv(70, 41%, 85%)
CMYKcmyk(6.9%, 0%, 41.2%, 15.3%)
CIE-LABlab(83.47, -18.59, 42.12)
CIE-LCHlch(83.47, 46.04, 113.82°)
OKLaboklab(85.1% -0.0515 0.1023)
OKLCHoklch(85.1% 0.115 116.7)
XYZxyz(52.4744, 63.0620, 29.4824)
Luminance0.6306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9D87F #8E7FD8
analogous
#D8BA7F #C9D87F #9DD87F
triadic
#C9D87F #7FC9D8 #D87FC9
tetradic
#C9D87F #7FD8BA #8E7FD8 #D87F9D
square
#C9D87F #7FD8BA #8E7FD8 #D87F9D
split-complementary
#C9D87F #7F9DD8 #BA7FD8
monochromatic
#95A934 #B5CA50 #C9D87F #DDE6AE #F1F5DD

Accessibility & contrast

On white

1.54
#C9D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#C9D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9D87F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9D87F#FFFFFF#000000##000000
##C9D87F1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D078
Deuteranopia (green-blind)
#E2D183
Tritanopia (blue-blind)
#D2CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c9d87f;
/* rgb */ color: rgb(201, 216, 127);
/* oklch */ color: oklch(85.1% 0.115 116.7);
Tailwind
colors: {
  custom: {
    50: '#dbe4a5',
    500: '#c9d87f',
    950: '#000000',
  },
}
SCSS
$custom: #c9d87f;
$custom-light: #dbe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c9d87f",
  "rgb": {
    "r": 201,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 70.112,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85103,
    "c": 0.11455,
    "h": 116.7
  },
  "luminance": 0.63062
}

Semantic roles & 50–950 ramp

primary
#C9D87F
secondary
#5F4FAC
accent
#25C13F
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C9D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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