#B4CD51#B4CD51

#B4CD51 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.152 H 119.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#B4CD51
RGBrgb(180, 205, 81)
HSLhsl(72, 55%, 56%)
HSVhsv(72, 60%, 80%)
CMYKcmyk(12.2%, 0%, 60.5%, 19.6%)
CIE-LABlab(78.44, -25.80, 57.33)
CIE-LCHlch(78.44, 62.87, 114.23°)
OKLaboklab(80.52% -0.0748 0.1319)
OKLCHoklch(80.52% 0.152 119.6)
XYZxyz(42.1395, 53.9602, 15.9784)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD51 #6A51CD
analogous
#CDA851 #B4CD51 #76CD51
triadic
#B4CD51 #51B4CD #CD51B4
tetradic
#B4CD51 #51CDA8 #6A51CD #CD5176
square
#B4CD51 #51CDA8 #6A51CD #CD5176
split-complementary
#B4CD51 #5176CD #A851CD
monochromatic
#6D7F25 #96AF32 #B4CD51 #C8DB81 #DDE8B0

Accessibility & contrast

On white

1.78
#B4CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#B4CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD51
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD51#FFFFFF#000000##000000
##B4CD511.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C243
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#BDC3B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd51;
/* rgb */ color: rgb(180, 205, 81);
/* oklch */ color: oklch(80.5% 0.152 119.6);
Tailwind
colors: {
  custom: {
    50: '#cddc87',
    500: '#b4cd51',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd51;
$custom-light: #cddc87;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd51",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 72.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80524,
    "c": 0.15164,
    "h": 119.6
  },
  "luminance": 0.5396
}

Semantic roles & 50–950 ramp

primary
#B4CD51
secondary
#4B3B87
accent
#49DF67
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B4CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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