#B8D342#B8D342

#B8D342 is a very light, vivid yellow-green. Relative luminance 0.572; OKLCH L 82.0% C 0.168 H 119.4°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#B8D342
RGBrgb(184, 211, 66)
HSLhsl(71, 62%, 54%)
HSVhsv(71, 69%, 83%)
CMYKcmyk(12.8%, 0%, 68.7%, 17.3%)
CIE-LABlab(80.28, -28.06, 65.37)
CIE-LCHlch(80.28, 71.14, 113.23°)
OKLaboklab(82.04% -0.0828 0.1466)
OKLCHoklch(82.04% 0.168 119.4)
XYZxyz(44.0456, 57.1725, 13.8682)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D342 #5D42D3
analogous
#D3A542 #B8D342 #70D342
triadic
#B8D342 #42B8D3 #D342B8
tetradic
#B8D342 #42D3A5 #5D42D3 #D34270
square
#B8D342 #42D3A5 #5D42D3 #D34270
split-complementary
#B8D342 #4270D3 #A542D3
monochromatic
#6B7D1D #96AF29 #B8D342 #CBDF74 #DDEAA5

Accessibility & contrast

On white

1.69
#B8D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#B8D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D342
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D342#FFFFFF#000000##000000
##B8D3421.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72B
Deuteranopia (green-blind)
#DDC84D
Tritanopia (blue-blind)
#C2C8B6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b8d342;
/* rgb */ color: rgb(184, 211, 66);
/* oklch */ color: oklch(82.0% 0.168 119.4);
Tailwind
colors: {
  custom: {
    50: '#d1e07f',
    500: '#b8d342',
    950: '#000000',
  },
}
SCSS
$custom: #b8d342;
$custom-light: #d1e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d342",
  "rgb": {
    "r": 184,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 71.172,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82036,
    "c": 0.16839,
    "h": 119.4
  },
  "luminance": 0.57172
}

Semantic roles & 50–950 ramp

primary
#B8D342
secondary
#433485
accent
#42E561
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8D342

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

Preview Lab → · Contrast checker → · Palette generator →

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