#B2C754#B2C754

#B2C754 is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 79.1% C 0.142 H 118.5°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#B2C754
RGBrgb(178, 199, 84)
HSLhsl(71, 51%, 55%)
HSVhsv(71, 58%, 78%)
CMYKcmyk(10.6%, 0%, 57.8%, 22%)
CIE-LABlab(76.65, -23.46, 54.00)
CIE-LCHlch(76.65, 58.87, 113.49°)
OKLaboklab(79.06% -0.0679 0.1252)
OKLCHoklch(79.06% 0.142 118.5)
XYZxyz(40.3843, 50.9522, 16.0931)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C754 #6954C7
analogous
#C7A354 #B2C754 #78C754
triadic
#B2C754 #54B2C7 #C754B2
tetradic
#B2C754 #54C7A3 #6954C7 #C75478
square
#B2C754 #54C7A3 #6954C7 #C75478
split-complementary
#B2C754 #5478C7 #A354C7
monochromatic
#6A7928 #93A737 #B2C754 #C7D682 #DCE5B0

Accessibility & contrast

On white

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

On black

11.19
#B2C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C754
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C754#FFFFFF#000000##000000
##B2C7541.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#BBBDAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c754;
/* rgb */ color: rgb(178, 199, 84);
/* oklch */ color: oklch(79.1% 0.142 118.5);
Tailwind
colors: {
  custom: {
    50: '#cbd888',
    500: '#b2c754',
    950: '#000000',
  },
}
SCSS
$custom: #b2c754;
$custom-light: #cbd888;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c754",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 70.957,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79061,
    "c": 0.1424,
    "h": 118.5
  },
  "luminance": 0.50952
}

Semantic roles & 50–950 ramp

primary
#B2C754
secondary
#4A3E82
accent
#4EDA67
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2C754

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

Preview Lab → · Contrast checker → · Palette generator →

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