#B4C87F#B4C87F

#B4C87F is a light, moderate yellow-green. Relative luminance 0.525; OKLCH L 80.0% C 0.099 H 121.1°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#B4C87F
RGBrgb(180, 200, 127)
HSLhsl(76, 40%, 64%)
HSVhsv(76, 37%, 78%)
CMYKcmyk(10%, 0%, 36.5%, 21.6%)
CIE-LABlab(77.61, -18.72, 34.30)
CIE-LCHlch(77.61, 39.08, 118.62°)
OKLaboklab(80.04% -0.0511 0.0846)
OKLCHoklch(80.04% 0.099 121.1)
XYZxyz(43.3073, 52.5442, 27.9351)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C87F #937FC8
analogous
#C8B87F #B4C87F #90C87F
triadic
#B4C87F #7FB4C8 #C87FB4
tetradic
#B4C87F #7FC8B8 #937FC8 #C87F90
square
#B4C87F #7FC8B8 #937FC8 #C87F90
split-complementary
#B4C87F #7F90C8 #B87FC8
monochromatic
#798F3D #9BB654 #B4C87F #CDDAAA #E6EDD5

Accessibility & contrast

On white

1.82
#B4C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#B4C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C87F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C87F#FFFFFF#000000##000000
##B4C87F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07A
Deuteranopia (green-blind)
#CEC082
Tritanopia (blue-blind)
#BAC1B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b4c87f;
/* rgb */ color: rgb(180, 200, 127);
/* oklch */ color: oklch(80.0% 0.099 121.1);
Tailwind
colors: {
  custom: {
    50: '#cbd8a5',
    500: '#b4c87f',
    950: '#000000',
  },
}
SCSS
$custom: #b4c87f;
$custom-light: #cbd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c87f",
  "rgb": {
    "r": 180,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 76.438,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80035,
    "c": 0.09881,
    "h": 121.1
  },
  "luminance": 0.52544
}

Semantic roles & 50–950 ramp

primary
#B4C87F
secondary
#675596
accent
#33B356
background
#FEFEFC
surface
#FAFBF6
border
#D3D4D0
text
#13140F
muted
#838380

Preview Lab

Preview with #B4C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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