#B2C832#B2C832

#B2C832 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.0% C 0.168 H 117.9°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#B2C832
RGBrgb(178, 200, 50)
HSLhsl(69, 60%, 49%)
HSVhsv(69, 75%, 78%)
CMYKcmyk(11%, 0%, 75%, 21.6%)
CIE-LABlab(76.68, -26.08, 67.28)
CIE-LCHlch(76.68, 72.16, 111.18°)
OKLaboklab(79.01% -0.0783 0.1483)
OKLCHoklch(79.01% 0.168 117.9)
XYZxyz(39.5910, 51.0042, 10.7761)
Luminance0.5100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C832 #4832C8
analogous
#C89332 #B2C832 #67C832
triadic
#B2C832 #32B2C8 #C832B2
tetradic
#B2C832 #32C893 #4832C8 #C83267
square
#B2C832 #32C893 #4832C8 #C83267
split-complementary
#B2C832 #3267C8 #9332C8
monochromatic
#5B661A #869726 #B2C832 #C6D760 #D7E391

Accessibility & contrast

On white

1.87
#B2C832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#B2C832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C832
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C832#FFFFFF#000000##000000
##B2C8321.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD0D
Deuteranopia (green-blind)
#D3BE3F
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c832;
/* rgb */ color: rgb(178, 200, 50);
/* oklch */ color: oklch(79.0% 0.168 117.9);
Tailwind
colors: {
  custom: {
    50: '#cdd875',
    500: '#b2c832',
    950: '#000000',
  },
}
SCSS
$custom: #b2c832;
$custom-light: #cdd875;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c832",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 68.8,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.79007,
    "c": 0.16767,
    "h": 117.9
  },
  "luminance": 0.51004
}

Semantic roles & 50–950 ramp

primary
#B2C832
secondary
#382E70
accent
#45E35C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C832

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

Preview Lab → · Contrast checker → · Palette generator →

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