#B7D752#B7D752

#B7D752 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 83.0% C 0.162 H 121.5°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#B7D752
RGBrgb(183, 215, 82)
HSLhsl(74, 62%, 58%)
HSVhsv(74, 62%, 84%)
CMYKcmyk(14.9%, 0%, 61.9%, 15.7%)
CIE-LABlab(81.44, -29.30, 60.24)
CIE-LCHlch(81.44, 66.99, 115.94°)
OKLaboklab(83% -0.0847 0.1381)
OKLCHoklch(83% 0.162 121.5)
XYZxyz(45.3524, 59.2773, 17.0334)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D752 #7252D7
analogous
#D7B452 #B7D752 #74D752
triadic
#B7D752 #52B7D7 #D752B7
tetradic
#B7D752 #52D7B4 #7252D7 #D75274
square
#B7D752 #52D7B4 #7252D7 #D75274
split-complementary
#B7D752 #5274D7 #B452D7
monochromatic
#748E21 #9CC02C #B7D752 #CCE284 #E0EEB5

Accessibility & contrast

On white

1.63
#B7D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#B7D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D752
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D752#FFFFFF#000000##000000
##B7D7521.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#C0CDBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b7d752;
/* rgb */ color: rgb(183, 215, 82);
/* oklch */ color: oklch(83.0% 0.162 121.5);
Tailwind
colors: {
  custom: {
    50: '#cfe388',
    500: '#b7d752',
    950: '#000000',
  },
}
SCSS
$custom: #b7d752;
$custom-light: #cfe388;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d752",
  "rgb": {
    "r": 183,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 74.436,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.16201,
    "h": 121.5
  },
  "luminance": 0.59277
}

Semantic roles & 50–950 ramp

primary
#B7D752
secondary
#4F3A93
accent
#42E66A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D752

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

Preview Lab → · Contrast checker → · Palette generator →

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