#B4CF51#B4CF51

#B4CF51 is a light, vivid yellow-green. Relative luminance 0.549; OKLCH L 81.0% C 0.154 H 120.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#B4CF51
RGBrgb(180, 207, 81)
HSLhsl(73, 57%, 56%)
HSVhsv(73, 61%, 81%)
CMYKcmyk(13%, 0%, 60.9%, 18.8%)
CIE-LABlab(79.00, -26.76, 57.94)
CIE-LCHlch(79.00, 63.83, 114.79°)
OKLaboklab(80.97% -0.0775 0.1332)
OKLCHoklch(80.97% 0.154 120.2)
XYZxyz(42.6210, 54.9232, 16.1389)
Luminance0.5492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF51 #6C51CF
analogous
#CFAB51 #B4CF51 #75CF51
triadic
#B4CF51 #51B4CF #CF51B4
tetradic
#B4CF51 #51CFAB #6C51CF #CF5175
square
#B4CF51 #51CFAB #6C51CF #CF5175
split-complementary
#B4CF51 #5175CF #AB51CF
monochromatic
#6E8224 #96B231 #B4CF51 #C9DC81 #DDE9B1

Accessibility & contrast

On white

1.75
#B4CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#B4CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF51
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF51#FFFFFF#000000##000000
##B4CF511.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC442
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#BDC5B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b4cf51;
/* rgb */ color: rgb(180, 207, 81);
/* oklch */ color: oklch(81.0% 0.154 120.2);
Tailwind
colors: {
  custom: {
    50: '#cddd87',
    500: '#b4cf51',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf51;
$custom-light: #cddd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf51",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 72.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.1541,
    "h": 120.2
  },
  "luminance": 0.54923
}

Semantic roles & 50–950 ramp

primary
#B4CF51
secondary
#4C3B89
accent
#48E068
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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