#B6D331#B6D331

#B6D331 is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.8% C 0.179 H 119.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#B6D331
RGBrgb(182, 211, 49)
HSLhsl(71, 65%, 51%)
HSVhsv(71, 77%, 83%)
CMYKcmyk(13.7%, 0%, 76.8%, 17.3%)
CIE-LABlab(80.04, -29.72, 70.81)
CIE-LCHlch(80.04, 76.80, 112.77°)
OKLaboklab(81.78% -0.0887 0.1554)
OKLCHoklch(81.78% 0.179 119.7)
XYZxyz(43.1409, 56.7556, 11.5874)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6D331 #4E31D3
analogous
#D39F31 #B6D331 #65D331
triadic
#B6D331 #31B6D3 #D331B6
tetradic
#B6D331 #31D39F #4E31D3 #D33165
square
#B6D331 #31D39F #4E31D3 #D33165
split-complementary
#B6D331 #3165D3 #9F31D3
monochromatic
#617118 #8DA423 #B6D331 #C8DE63 #DAE996

Accessibility & contrast

On white

1.70
#B6D331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#B6D331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6D331
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6D331#FFFFFF#000000##000000
##B6D3311.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#DDC741
Tritanopia (blue-blind)
#C1C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b6d331;
/* rgb */ color: rgb(182, 211, 49);
/* oklch */ color: oklch(81.8% 0.179 119.7);
Tailwind
colors: {
  custom: {
    50: '#d0e076',
    500: '#b6d331',
    950: '#000000',
  },
}
SCSS
$custom: #b6d331;
$custom-light: #d0e076;
$custom-dark: #000000;
JSON
{
  "hex": "#b6d331",
  "rgb": {
    "r": 182,
    "g": 211,
    "b": 49
  },
  "hsl": {
    "h": 70.741,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.17893,
    "h": 119.7
  },
  "luminance": 0.56755
}

Semantic roles & 50–950 ramp

primary
#B6D331
secondary
#3C2E7A
accent
#40E85E
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B6D331

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

Preview Lab → · Contrast checker → · Palette generator →

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