#B7D252#B7D252

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

Color values

HEX#B7D252
RGBrgb(183, 210, 82)
HSLhsl(73, 59%, 57%)
HSVhsv(73, 61%, 82%)
CMYKcmyk(12.9%, 0%, 61%, 17.6%)
CIE-LABlab(80.05, -26.93, 58.73)
CIE-LCHlch(80.05, 64.61, 114.63°)
OKLaboklab(81.88% -0.0781 0.1349)
OKLCHoklch(81.88% 0.156 120.1)
XYZxyz(44.0986, 56.7698, 16.6155)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D252 #6D52D2
analogous
#D2AD52 #B7D252 #77D252
triadic
#B7D252 #52B7D2 #D252B7
tetradic
#B7D252 #52D2AD #6D52D2 #D25277
square
#B7D252 #52D2AD #6D52D2 #D25277
split-complementary
#B7D252 #5277D2 #AD52D2
monochromatic
#728723 #9BB730 #B7D252 #CBDF83 #DFEBB3

Accessibility & contrast

On white

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

On black

12.35
#B7D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D252
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D252#FFFFFF#000000##000000
##B7D2521.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7d252;
/* rgb */ color: rgb(183, 210, 82);
/* oklch */ color: oklch(81.9% 0.156 120.1);
Tailwind
colors: {
  custom: {
    50: '#cfdf88',
    500: '#b7d252',
    950: '#000000',
  },
}
SCSS
$custom: #b7d252;
$custom-light: #cfdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d252",
  "rgb": {
    "r": 183,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 72.656,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81875,
    "c": 0.15587,
    "h": 120.1
  },
  "luminance": 0.5677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7D252

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

Preview Lab → · Contrast checker → · Palette generator →

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