#B2C751#B2C751

#B2C751 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 79.0% C 0.145 H 118.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#B2C751
RGBrgb(178, 199, 81)
HSLhsl(71, 51%, 55%)
HSVhsv(71, 59%, 78%)
CMYKcmyk(10.6%, 0%, 59.3%, 22%)
CIE-LABlab(76.62, -23.70, 55.29)
CIE-LCHlch(76.62, 60.16, 113.20°)
OKLaboklab(79.03% -0.0688 0.1276)
OKLCHoklch(79.03% 0.145 118.3)
XYZxyz(40.2694, 50.9062, 15.4875)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C751 #6651C7
analogous
#C7A151 #B2C751 #77C751
triadic
#B2C751 #51B2C7 #C751B2
tetradic
#B2C751 #51C7A1 #6651C7 #C75177
square
#B2C751 #51C7A1 #6651C7 #C75177
split-complementary
#B2C751 #5177C7 #A151C7
monochromatic
#697726 #92A635 #B2C751 #C6D67F #DBE5AE

Accessibility & contrast

On white

1.88
#B2C751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#B2C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C751
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C751#FFFFFF#000000##000000
##B2C7511.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#BCBDAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c751;
/* rgb */ color: rgb(178, 199, 81);
/* oklch */ color: oklch(79.0% 0.145 118.3);
Tailwind
colors: {
  custom: {
    50: '#cbd886',
    500: '#b2c751',
    950: '#000000',
  },
}
SCSS
$custom: #b2c751;
$custom-light: #cbd886;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c751",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 70.678,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79029,
    "c": 0.14497,
    "h": 118.3
  },
  "luminance": 0.50906
}

Semantic roles & 50–950 ramp

primary
#B2C751
secondary
#483C80
accent
#4DDB66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C751

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

Preview Lab → · Contrast checker → · Palette generator →

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