#B8D152#B8D152

#B8D152 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.7% C 0.154 H 119.4°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#B8D152
RGBrgb(184, 209, 82)
HSLhsl(72, 58%, 57%)
HSVhsv(72, 61%, 82%)
CMYKcmyk(12%, 0%, 60.8%, 18%)
CIE-LABlab(79.84, -26.05, 58.52)
CIE-LCHlch(79.84, 64.06, 114.00°)
OKLaboklab(81.73% -0.0757 0.1344)
OKLCHoklch(81.73% 0.154 119.4)
XYZxyz(44.0913, 56.4007, 16.5447)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D152 #6B52D1
analogous
#D1AB52 #B8D152 #79D152
triadic
#B8D152 #52B8D1 #D152B8
tetradic
#B8D152 #52D1AB #6B52D1 #D15279
square
#B8D152 #52D1AB #6B52D1 #D15279
split-complementary
#B8D152 #5279D1 #AB52D1
monochromatic
#728523 #9BB630 #B8D152 #CCDE82 #E0EBB3

Accessibility & contrast

On white

1.71
#B8D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#B8D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D152
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D152#FFFFFF#000000##000000
##B8D1521.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#DBC65B
Tritanopia (blue-blind)
#C2C7B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b8d152;
/* rgb */ color: rgb(184, 209, 82);
/* oklch */ color: oklch(81.7% 0.154 119.4);
Tailwind
colors: {
  custom: {
    50: '#d0df88',
    500: '#b8d152',
    950: '#000000',
  },
}
SCSS
$custom: #b8d152;
$custom-light: #d0df88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d152",
  "rgb": {
    "r": 184,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 71.811,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81725,
    "c": 0.15428,
    "h": 119.4
  },
  "luminance": 0.564
}

Semantic roles & 50–950 ramp

primary
#B8D152
secondary
#4B3B8C
accent
#47E165
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B8D152

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

Preview Lab → · Contrast checker → · Palette generator →

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