#B4D942#B4D942

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

Color values

HEX#B4D942
RGBrgb(180, 217, 66)
HSLhsl(75, 67%, 55%)
HSVhsv(75, 70%, 85%)
CMYKcmyk(17.1%, 0%, 69.6%, 14.9%)
CIE-LABlab(81.69, -32.47, 66.69)
CIE-LCHlch(81.69, 74.18, 115.96°)
OKLaboklab(83.1% -0.0947 0.1495)
OKLCHoklch(83.1% 0.177 122.4)
XYZxyz(44.6192, 59.7222, 14.3301)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D942 #6742D9
analogous
#D9B242 #B4D942 #68D942
triadic
#B4D942 #42B4D9 #D942B4
tetradic
#B4D942 #42D9B2 #6742D9 #D94268
square
#B4D942 #42D9B2 #6742D9 #D94268
split-complementary
#B4D942 #4268D9 #B242D9
monochromatic
#6C861B #95B925 #B4D942 #C8E375 #DCEDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4D942#FFFFFF#000000##000000
##B4D9421.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)
#E6CC29
Deuteranopia (green-blind)
#E1CB4F
Tritanopia (blue-blind)
#BDCEBB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b4d942;
/* rgb */ color: rgb(180, 217, 66);
/* oklch */ color: oklch(83.1% 0.177 122.4);
Tailwind
colors: {
  custom: {
    50: '#cee47f',
    500: '#b4d942',
    950: '#000000',
  },
}
SCSS
$custom: #b4d942;
$custom-light: #cee47f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d942",
  "rgb": {
    "r": 180,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 74.702,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83104,
    "c": 0.17701,
    "h": 122.4
  },
  "luminance": 0.59722
}

Semantic roles & 50–950 ramp

primary
#B4D942
secondary
#49338C
accent
#3EE968
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B4D942

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

Preview Lab → · Contrast checker → · Palette generator →

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