#B4D22F#B4D22F

#B4D22F is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.4% C 0.180 H 120.0°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#B4D22F
RGBrgb(180, 210, 47)
HSLhsl(71, 64%, 50%)
HSVhsv(71, 78%, 82%)
CMYKcmyk(14.3%, 0%, 77.6%, 17.6%)
CIE-LABlab(79.61, -30.14, 70.96)
CIE-LCHlch(79.61, 77.10, 113.01°)
OKLaboklab(81.4% -0.0898 0.1555)
OKLCHoklch(81.4% 0.18 120)
XYZxyz(42.3829, 56.0019, 11.2654)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D22F #4D2FD2
analogous
#D29E2F #B4D22F #62D22F
triadic
#B4D22F #2FB4D2 #D22FB4
tetradic
#B4D22F #2FD29E #4D2FD2 #D22F62
square
#B4D22F #2FD29E #4D2FD2 #D22F62
split-complementary
#B4D22F #2F62D2 #9E2FD2
monochromatic
#5F6F18 #8AA123 #B4D22F #C6DD61 #D8E894

Accessibility & contrast

On white

1.72
#B4D22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#B4D22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D22F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D22F#FFFFFF#000000##000000
##B4D22F1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#BFC7B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b4d22f;
/* rgb */ color: rgb(180, 210, 47);
/* oklch */ color: oklch(81.4% 0.180 120.0);
Tailwind
colors: {
  custom: {
    50: '#cedf75',
    500: '#b4d22f',
    950: '#000000',
  },
}
SCSS
$custom: #b4d22f;
$custom-light: #cedf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d22f",
  "rgb": {
    "r": 180,
    "g": 210,
    "b": 47
  },
  "hsl": {
    "h": 71.043,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.814,
    "c": 0.17957,
    "h": 120
  },
  "luminance": 0.56002
}

Semantic roles & 50–950 ramp

primary
#B4D22F
secondary
#3B2D78
accent
#40E75F
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4D22F

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

Preview Lab → · Contrast checker → · Palette generator →

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