#B7D052#B7D052

#B7D052 is a light, vivid yellow-green. Relative luminance 0.558; OKLCH L 81.4% C 0.153 H 119.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#B7D052
RGBrgb(183, 208, 82)
HSLhsl(72, 57%, 57%)
HSVhsv(72, 61%, 82%)
CMYKcmyk(12%, 0%, 60.6%, 18.4%)
CIE-LABlab(79.49, -25.97, 58.12)
CIE-LCHlch(79.49, 63.66, 114.08°)
OKLaboklab(81.43% -0.0754 0.1336)
OKLCHoklch(81.43% 0.153 119.4)
XYZxyz(43.6079, 55.7885, 16.4519)
Luminance0.5579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D052 #6B52D0
analogous
#D0AA52 #B7D052 #78D052
triadic
#B7D052 #52B7D0 #D052B7
tetradic
#B7D052 #52D0AA #6B52D0 #D05278
square
#B7D052 #52D0AA #6B52D0 #D05278
split-complementary
#B7D052 #5278D0 #AA52D0
monochromatic
#718424 #9AB431 #B7D052 #CBDD82 #DFEAB2

Accessibility & contrast

On white

1.73
#B7D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#B7D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D052
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D052#FFFFFF#000000##000000
##B7D0521.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC543
Deuteranopia (green-blind)
#DAC55A
Tritanopia (blue-blind)
#C1C6B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b7d052;
/* rgb */ color: rgb(183, 208, 82);
/* oklch */ color: oklch(81.4% 0.153 119.4);
Tailwind
colors: {
  custom: {
    50: '#cfde88',
    500: '#b7d052',
    950: '#000000',
  },
}
SCSS
$custom: #b7d052;
$custom-light: #cfde88;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d052",
  "rgb": {
    "r": 183,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 71.905,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81428,
    "c": 0.15342,
    "h": 119.4
  },
  "luminance": 0.55788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7D052

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

Preview Lab → · Contrast checker → · Palette generator →

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