#B8D252#B8D252

#B8D252 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.9% C 0.156 H 119.7°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#B8D252
RGBrgb(184, 210, 82)
HSLhsl(72, 59%, 57%)
HSVhsv(72, 61%, 82%)
CMYKcmyk(12.4%, 0%, 61%, 17.6%)
CIE-LABlab(80.12, -26.53, 58.82)
CIE-LCHlch(80.12, 64.53, 114.28°)
OKLaboklab(81.95% -0.077 0.1351)
OKLCHoklch(81.95% 0.156 119.7)
XYZxyz(44.3374, 56.8929, 16.6267)
Luminance0.5689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D252 #6C52D2
analogous
#D2AC52 #B8D252 #78D252
triadic
#B8D252 #52B8D2 #D252B8
tetradic
#B8D252 #52D2AC #6C52D2 #D25278
square
#B8D252 #52D2AC #6C52D2 #D25278
split-complementary
#B8D252 #5278D2 #AC52D2
monochromatic
#728723 #9CB730 #B8D252 #CCDF83 #E0EBB3

Accessibility & contrast

On white

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

On black

12.38
#B8D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D252
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D252#FFFFFF#000000##000000
##B8D2521.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#C2C8B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #b8d252;
/* rgb */ color: rgb(184, 210, 82);
/* oklch */ color: oklch(81.9% 0.156 119.7);
Tailwind
colors: {
  custom: {
    50: '#d0df88',
    500: '#b8d252',
    950: '#000000',
  },
}
SCSS
$custom: #b8d252;
$custom-light: #d0df88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d252",
  "rgb": {
    "r": 184,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 72.188,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81949,
    "c": 0.15551,
    "h": 119.7
  },
  "luminance": 0.56893
}

Semantic roles & 50–950 ramp

primary
#B8D252
secondary
#4C3B8D
accent
#46E266
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B8D252

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

Preview Lab → · Contrast checker → · Palette generator →

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