#B4D862#B4D862

#B4D862 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.2% C 0.151 H 123.8°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#B4D862
RGBrgb(180, 216, 98)
HSLhsl(78, 60%, 62%)
HSVhsv(78, 55%, 85%)
CMYKcmyk(16.7%, 0%, 54.6%, 15.3%)
CIE-LABlab(81.67, -29.63, 53.45)
CIE-LCHlch(81.67, 61.11, 119.00°)
OKLaboklab(83.18% -0.0839 0.1254)
OKLCHoklch(83.18% 0.151 123.8)
XYZxyz(45.5830, 59.6966, 20.6741)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D862 #8662D8
analogous
#D8C162 #B4D862 #79D862
triadic
#B4D862 #62B4D8 #D862B4
tetradic
#B4D862 #62D8C1 #8662D8 #D86279
square
#B4D862 #62D8C1 #8662D8 #D86279
split-complementary
#B4D862 #6279D8 #C162D8
monochromatic
#769926 #9CCA32 #B4D862 #CBE493 #E3F0C4

Accessibility & contrast

On white

1.62
#B4D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#B4D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D862
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D862#FFFFFF#000000##000000
##B4D8621.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC56
Deuteranopia (green-blind)
#DECB69
Tritanopia (blue-blind)
#BBCFBE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b4d862;
/* rgb */ color: rgb(180, 216, 98);
/* oklch */ color: oklch(83.2% 0.151 123.8);
Tailwind
colors: {
  custom: {
    50: '#cde492',
    500: '#b4d862',
    950: '#000000',
  },
}
SCSS
$custom: #b4d862;
$custom-light: #cde492;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d862",
  "rgb": {
    "r": 180,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 78.305,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83179,
    "c": 0.15093,
    "h": 123.8
  },
  "luminance": 0.59697
}

Semantic roles & 50–950 ramp

primary
#B4D862
secondary
#5D409E
accent
#1EC852
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B4D862

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

Preview Lab → · Contrast checker → · Palette generator →

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