#B8D542#B8D542

#B8D542 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.5% C 0.171 H 120.0°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#B8D542
RGBrgb(184, 213, 66)
HSLhsl(72, 64%, 55%)
HSVhsv(72, 69%, 84%)
CMYKcmyk(13.6%, 0%, 69%, 16.5%)
CIE-LABlab(80.83, -29.01, 65.93)
CIE-LCHlch(80.83, 72.03, 113.75°)
OKLaboklab(82.49% -0.0854 0.1478)
OKLCHoklch(82.49% 0.171 120)
XYZxyz(44.5456, 58.1724, 14.0349)
Luminance0.5817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D542 #5F42D5
analogous
#D5A942 #B8D542 #6ED542
triadic
#B8D542 #42B8D5 #D542B8
tetradic
#B8D542 #42D5A9 #5F42D5 #D5426E
square
#B8D542 #42D5A9 #5F42D5 #D5426E
split-complementary
#B8D542 #426ED5 #A942D5
monochromatic
#6C801C #97B228 #B8D542 #CBE074 #DEEBA6

Accessibility & contrast

On white

1.66
#B8D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#B8D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D542
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D542#FFFFFF#000000##000000
##B8D5421.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#DFC94E
Tritanopia (blue-blind)
#C2CAB8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b8d542;
/* rgb */ color: rgb(184, 213, 66);
/* oklch */ color: oklch(82.5% 0.171 120.0);
Tailwind
colors: {
  custom: {
    50: '#d1e27f',
    500: '#b8d542',
    950: '#000000',
  },
}
SCSS
$custom: #b8d542;
$custom-light: #d1e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d542",
  "rgb": {
    "r": 184,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 71.837,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82485,
    "c": 0.17071,
    "h": 120
  },
  "luminance": 0.58172
}

Semantic roles & 50–950 ramp

primary
#B8D542
secondary
#443487
accent
#41E762
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D542

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

Preview Lab → · Contrast checker → · Palette generator →

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