#B4D240#B4D240

#B4D240 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.170 H 120.5°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#B4D240
RGBrgb(180, 210, 64)
HSLhsl(72, 62%, 54%)
HSVhsv(72, 70%, 82%)
CMYKcmyk(14.3%, 0%, 69.5%, 17.6%)
CIE-LABlab(79.71, -29.31, 65.44)
CIE-LCHlch(79.71, 71.71, 114.13°)
OKLaboklab(81.51% -0.0862 0.1466)
OKLCHoklch(81.51% 0.17 120.5)
XYZxyz(42.7951, 56.1668, 13.4363)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D240 #5E40D2
analogous
#D2A740 #B4D240 #6BD240
triadic
#B4D240 #40B4D2 #D240B4
tetradic
#B4D240 #40D2A7 #5E40D2 #D2406B
square
#B4D240 #40D2A7 #5E40D2 #D2406B
split-complementary
#B4D240 #406BD2 #A740D2
monochromatic
#677B1D #91AC29 #B4D240 #C7DE72 #DBE9A3

Accessibility & contrast

On white

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

On black

12.23
#B4D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D240
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D240#FFFFFF#000000##000000
##B4D2401.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC628
Deuteranopia (green-blind)
#DBC64C
Tritanopia (blue-blind)
#BEC7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b4d240;
/* rgb */ color: rgb(180, 210, 64);
/* oklch */ color: oklch(81.5% 0.170 120.5);
Tailwind
colors: {
  custom: {
    50: '#cedf7e',
    500: '#b4d240',
    950: '#000000',
  },
}
SCSS
$custom: #b4d240;
$custom-light: #cedf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d240",
  "rgb": {
    "r": 180,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 72.329,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81505,
    "c": 0.17005,
    "h": 120.5
  },
  "luminance": 0.56167
}

Semantic roles & 50–950 ramp

primary
#B4D240
secondary
#443483
accent
#43E564
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4D240

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

Preview Lab → · Contrast checker → · Palette generator →

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