#B4D052#B4D052

#B4D052 is a light, vivid yellow-green. Relative luminance 0.554; OKLCH L 81.2% C 0.155 H 120.5°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#B4D052
RGBrgb(180, 208, 82)
HSLhsl(73, 57%, 57%)
HSVhsv(73, 61%, 82%)
CMYKcmyk(13.5%, 0%, 60.6%, 18.4%)
CIE-LABlab(79.28, -27.17, 57.83)
CIE-LCHlch(79.28, 63.89, 115.16°)
OKLaboklab(81.21% -0.0785 0.1331)
OKLCHoklch(81.21% 0.155 120.5)
XYZxyz(42.9018, 55.4243, 16.4188)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4D052 #6E52D0
analogous
#D0AD52 #B4D052 #75D052
triadic
#B4D052 #52B4D0 #D052B4
tetradic
#B4D052 #52D0AD #6E52D0 #D05275
square
#B4D052 #52D0AD #6E52D0 #D05275
split-complementary
#B4D052 #5275D0 #AD52D0
monochromatic
#6E8424 #97B431 #B4D052 #C9DD82 #DEEAB2

Accessibility & contrast

On white

1.74
#B4D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#B4D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4D052
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4D052#FFFFFF#000000##000000
##B4D0521.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#BDC6B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b4d052;
/* rgb */ color: rgb(180, 208, 82);
/* oklch */ color: oklch(81.2% 0.155 120.5);
Tailwind
colors: {
  custom: {
    50: '#cdde88',
    500: '#b4d052',
    950: '#000000',
  },
}
SCSS
$custom: #b4d052;
$custom-light: #cdde88;
$custom-dark: #000000;
JSON
{
  "hex": "#b4d052",
  "rgb": {
    "r": 180,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 73.333,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81208,
    "c": 0.15452,
    "h": 120.5
  },
  "luminance": 0.55424
}

Semantic roles & 50–950 ramp

primary
#B4D052
secondary
#4D3B8B
accent
#47E169
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4D052

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

Preview Lab → · Contrast checker → · Palette generator →

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