#B2C852#B2C852

#B2C852 is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 79.3% C 0.145 H 118.7°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#B2C852
RGBrgb(178, 200, 82)
HSLhsl(71, 52%, 55%)
HSVhsv(71, 59%, 78%)
CMYKcmyk(11%, 0%, 59%, 21.6%)
CIE-LABlab(76.91, -24.11, 55.17)
CIE-LCHlch(76.91, 60.21, 113.60°)
OKLaboklab(79.26% -0.0699 0.1275)
OKLCHoklch(79.26% 0.145 118.7)
XYZxyz(40.5380, 51.3830, 15.7634)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C852 #6852C8
analogous
#C8A352 #B2C852 #77C852
triadic
#B2C852 #52B2C8 #C852B2
tetradic
#B2C852 #52C8A3 #6852C8 #C85277
square
#B2C852 #52C8A3 #6852C8 #C85277
split-complementary
#B2C852 #5277C8 #A352C8
monochromatic
#6A7927 #92A835 #B2C852 #C7D780 #DBE6AF

Accessibility & contrast

On white

1.86
#B2C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#B2C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C852
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C852#FFFFFF#000000##000000
##B2C8521.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D2BE5A
Tritanopia (blue-blind)
#BBBEAF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c852;
/* rgb */ color: rgb(178, 200, 82);
/* oklch */ color: oklch(79.3% 0.145 118.7);
Tailwind
colors: {
  custom: {
    50: '#cbd887',
    500: '#b2c852',
    950: '#000000',
  },
}
SCSS
$custom: #b2c852;
$custom-light: #cbd887;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c852",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 71.186,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79264,
    "c": 0.14536,
    "h": 118.7
  },
  "luminance": 0.51383
}

Semantic roles & 50–950 ramp

primary
#B2C852
secondary
#493D82
accent
#4DDB67
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2C852

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

Preview Lab → · Contrast checker → · Palette generator →

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