#B8D332#B8D332

#B8D332 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.9% C 0.178 H 119.1°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#B8D332
RGBrgb(184, 211, 50)
HSLhsl(70, 65%, 51%)
HSVhsv(70, 76%, 83%)
CMYKcmyk(12.8%, 0%, 76.3%, 17.3%)
CIE-LABlab(80.18, -28.86, 70.69)
CIE-LCHlch(80.18, 76.36, 112.21°)
OKLaboklab(81.93% -0.0863 0.1553)
OKLCHoklch(81.93% 0.178 119.1)
XYZxyz(43.6381, 57.0095, 11.7220)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D332 #4D32D3
analogous
#D39D32 #B8D332 #67D332
triadic
#B8D332 #32B8D3 #D332B8
tetradic
#B8D332 #32D39D #4D32D3 #D33267
square
#B8D332 #32D39D #4D32D3 #D33267
split-complementary
#B8D332 #3267D3 #9D32D3
monochromatic
#637218 #8FA423 #B8D332 #C9DE64 #DBE997

Accessibility & contrast

On white

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

On black

12.40
#B8D332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D332
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D332#FFFFFF#000000##000000
##B8D3321.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C701
Deuteranopia (green-blind)
#DEC741
Tritanopia (blue-blind)
#C3C7B5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b8d332;
/* rgb */ color: rgb(184, 211, 50);
/* oklch */ color: oklch(81.9% 0.178 119.1);
Tailwind
colors: {
  custom: {
    50: '#d1e077',
    500: '#b8d332',
    950: '#000000',
  },
}
SCSS
$custom: #b8d332;
$custom-light: #d1e077;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d332",
  "rgb": {
    "r": 184,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 70.062,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81933,
    "c": 0.17766,
    "h": 119.1
  },
  "luminance": 0.57009
}

Semantic roles & 50–950 ramp

primary
#B8D332
secondary
#3B2E7B
accent
#40E85C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#15150A
muted
#84847D

Preview Lab

Preview with #B8D332

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

Preview Lab → · Contrast checker → · Palette generator →

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