#B8D052#B8D052

#B8D052 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.5% C 0.153 H 119.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#B8D052
RGBrgb(184, 208, 82)
HSLhsl(71, 57%, 57%)
HSVhsv(71, 61%, 82%)
CMYKcmyk(11.5%, 0%, 60.6%, 18.4%)
CIE-LABlab(79.56, -25.57, 58.22)
CIE-LCHlch(79.56, 63.58, 113.71°)
OKLaboklab(81.5% -0.0743 0.1338)
OKLCHoklch(81.5% 0.153 119)
XYZxyz(43.8467, 55.9116, 16.4631)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8D052 #6A52D0
analogous
#D0A952 #B8D052 #79D052
triadic
#B8D052 #52B8D0 #D052B8
tetradic
#B8D052 #52D0A9 #6A52D0 #D05279
square
#B8D052 #52D0A9 #6A52D0 #D05279
split-complementary
#B8D052 #5279D0 #A952D0
monochromatic
#728424 #9BB431 #B8D052 #CCDD82 #E0EAB2

Accessibility & contrast

On white

1.72
#B8D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#B8D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8D052
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8D052#FFFFFF#000000##000000
##B8D0521.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#DAC65A
Tritanopia (blue-blind)
#C2C6B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b8d052;
/* rgb */ color: rgb(184, 208, 82);
/* oklch */ color: oklch(81.5% 0.153 119.0);
Tailwind
colors: {
  custom: {
    50: '#d0de88',
    500: '#b8d052',
    950: '#000000',
  },
}
SCSS
$custom: #b8d052;
$custom-light: #d0de88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8d052",
  "rgb": {
    "r": 184,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 71.429,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81502,
    "c": 0.15306,
    "h": 119
  },
  "luminance": 0.55911
}

Semantic roles & 50–950 ramp

primary
#B8D052
secondary
#4B3B8B
accent
#47E164
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B8D052

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

Preview Lab → · Contrast checker → · Palette generator →

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