#B9C87F#B9C87F

#B9C87F is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.4% C 0.097 H 118.1°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B9C87F
RGBrgb(185, 200, 127)
HSLhsl(72, 40%, 64%)
HSVhsv(72, 37%, 78%)
CMYKcmyk(7.5%, 0%, 36.5%, 21.6%)
CIE-LABlab(77.97, -16.80, 34.84)
CIE-LCHlch(77.97, 38.68, 115.74°)
OKLaboklab(80.41% -0.0458 0.0858)
OKLCHoklch(80.41% 0.097 118.1)
XYZxyz(44.4927, 53.1554, 27.9907)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C87F #8E7FC8
analogous
#C8B37F #B9C87F #95C87F
triadic
#B9C87F #7FB9C8 #C87FB9
tetradic
#B9C87F #7FC8B3 #8E7FC8 #C87F95
square
#B9C87F #7FC8B3 #8E7FC8 #C87F95
split-complementary
#B9C87F #7F95C8 #B37FC8
monochromatic
#7E8F3D #A2B654 #B9C87F #D0DAAA #E8EDD5

Accessibility & contrast

On white

1.81
#B9C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#B9C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C87F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C87F#FFFFFF#000000##000000
##B9C87F1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C17A
Deuteranopia (green-blind)
#CFC182
Tritanopia (blue-blind)
#C0C1B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b9c87f;
/* rgb */ color: rgb(185, 200, 127);
/* oklch */ color: oklch(80.4% 0.097 118.1);
Tailwind
colors: {
  custom: {
    50: '#cfd8a5',
    500: '#b9c87f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c87f;
$custom-light: #cfd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c87f",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 72.329,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80414,
    "c": 0.09726,
    "h": 118.1
  },
  "luminance": 0.53155
}

Semantic roles & 50–950 ramp

primary
#B9C87F
secondary
#625596
accent
#33B34D
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#14140F
muted
#838380

Preview Lab

Preview with #B9C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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