#B7D451#B7D451

#B7D451 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.3% C 0.159 H 120.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#B7D451
RGBrgb(183, 212, 81)
HSLhsl(73, 60%, 57%)
HSVhsv(73, 62%, 83%)
CMYKcmyk(13.7%, 0%, 61.8%, 16.9%)
CIE-LABlab(80.60, -27.96, 59.74)
CIE-LCHlch(80.60, 65.96, 115.08°)
OKLaboklab(82.31% -0.081 0.1369)
OKLCHoklch(82.31% 0.159 120.6)
XYZxyz(44.5577, 57.7484, 16.5822)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D451 #6E51D4
analogous
#D4AF51 #B7D451 #76D451
triadic
#B7D451 #51B7D4 #D451B7
tetradic
#B7D451 #51D4AF #6E51D4 #D45176
square
#B7D451 #51D4AF #6E51D4 #D45176
split-complementary
#B7D451 #5176D4 #AF51D4
monochromatic
#728922 #9BBA2E #B7D451 #CBE082 #E0ECB3

Accessibility & contrast

On white

1.67
#B7D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#B7D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D451
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D451#FFFFFF#000000##000000
##B7D4511.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C841
Deuteranopia (green-blind)
#DDC85A
Tritanopia (blue-blind)
#C0CAB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #b7d451;
/* rgb */ color: rgb(183, 212, 81);
/* oklch */ color: oklch(82.3% 0.159 120.6);
Tailwind
colors: {
  custom: {
    50: '#cfe187',
    500: '#b7d451',
    950: '#000000',
  },
}
SCSS
$custom: #b7d451;
$custom-light: #cfe187;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d451",
  "rgb": {
    "r": 183,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 73.282,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82314,
    "c": 0.15911,
    "h": 120.6
  },
  "luminance": 0.57748
}

Semantic roles & 50–950 ramp

primary
#B7D451
secondary
#4D3A8F
accent
#44E468
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B7D451

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

Preview Lab → · Contrast checker → · Palette generator →

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