#B4E87F

A color in the Green family

#b4e87f is a color in the Green family: RGB(180, 232, 127), HSL(90°, 70%, 70%), CMYK(22%, 0%, 45%, 9%). Closest named color: lightgreen. Contrast is 1.42:1 on white and 14.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b4e87f
RGBrgb(180 232 127)
RGB (legacy)rgb(180, 232, 127)
RGB %rgb(71% 91% 50%)
HSLhsl(90 70% 70%)
HSV / HSBhsv(90, 45%, 91%)
HWBhwb(90 50% 9%)
CMYKcmyk(22%, 0%, 45%, 9%)
CIELAB (D50)lab(86.65 -30.27 45.16)
LCHlch(86.65 54.37 123.84)
OKLaboklab(0.8716 -0.0941 0.1103)
OKLCHoklch(0.8716 0.145 130.49)
Decimal11855999

Properties

Color ToneGreen
Closest named colorlightgreen ΔE 3.7
Closest web-safe color#ccff66
Hue90°
Saturation (HSL / HSV)70% / 45%
Lightness (HSL)70%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)80% / 84%
Relative luminance (WCAG)0.6895
Red / Green / Blue180 / 232 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
14.79:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 20.1 / -83.3 · As background with white / black text: Lc -22.9 / 83.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #b4e87f;
  --color-brand-oklch: oklch(87.16% 0.145 130.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 232 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b4e87f] text-[#b4e87f] border-[#b4e87f]">