#B9D342#B9D342

#B9D342 is a very light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.1% C 0.168 H 119.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#B9D342
RGBrgb(185, 211, 66)
HSLhsl(71, 62%, 54%)
HSVhsv(71, 69%, 83%)
CMYKcmyk(12.3%, 0%, 68.7%, 17.3%)
CIE-LABlab(80.35, -27.66, 65.46)
CIE-LCHlch(80.35, 71.06, 112.91°)
OKLaboklab(82.11% -0.0817 0.1468)
OKLCHoklch(82.11% 0.168 119.1)
XYZxyz(44.2861, 57.2965, 13.8795)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D342 #5C42D3
analogous
#D3A542 #B9D342 #70D342
triadic
#B9D342 #42B9D3 #D342B9
tetradic
#B9D342 #42D3A5 #5C42D3 #D34270
square
#B9D342 #42D3A5 #5C42D3 #D34270
split-complementary
#B9D342 #4270D3 #A542D3
monochromatic
#6C7D1D #97AF29 #B9D342 #CBDF74 #DEEAA5

Accessibility & contrast

On white

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

On black

12.46
#B9D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D342
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D342#FFFFFF#000000##000000
##B9D3421.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9d342;
/* rgb */ color: rgb(185, 211, 66);
/* oklch */ color: oklch(82.1% 0.168 119.1);
Tailwind
colors: {
  custom: {
    50: '#d1e07f',
    500: '#b9d342',
    950: '#000000',
  },
}
SCSS
$custom: #b9d342;
$custom-light: #d1e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d342",
  "rgb": {
    "r": 185,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 70.759,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8211,
    "c": 0.16802,
    "h": 119.1
  },
  "luminance": 0.57296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9D342

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

Preview Lab → · Contrast checker → · Palette generator →

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