#B2C732#B2C732

#B2C732 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.8% C 0.167 H 117.5°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#B2C732
RGBrgb(178, 199, 50)
HSLhsl(68, 60%, 49%)
HSVhsv(68, 75%, 78%)
CMYKcmyk(10.6%, 0%, 74.9%, 22%)
CIE-LABlab(76.40, -25.59, 67.02)
CIE-LCHlch(76.40, 71.74, 110.90°)
OKLaboklab(78.78% -0.077 0.1477)
OKLCHoklch(78.78% 0.167 117.5)
XYZxyz(39.3602, 50.5426, 10.6992)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C732 #4732C7
analogous
#C79232 #B2C732 #68C732
triadic
#B2C732 #32B2C7 #C732B2
tetradic
#B2C732 #32C792 #4732C7 #C73268
square
#B2C732 #32C792 #4732C7 #C73268
split-complementary
#B2C732 #3268C7 #9232C7
monochromatic
#5B6519 #869626 #B2C732 #C6D75F #D7E390

Accessibility & contrast

On white

1.89
#B2C732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#B2C732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C732
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C732#FFFFFF#000000##000000
##B2C7321.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC0E
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#BDBCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c732;
/* rgb */ color: rgb(178, 199, 50);
/* oklch */ color: oklch(78.8% 0.167 117.5);
Tailwind
colors: {
  custom: {
    50: '#cdd775',
    500: '#b2c732',
    950: '#000000',
  },
}
SCSS
$custom: #b2c732;
$custom-light: #cdd775;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c732",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 68.456,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78781,
    "c": 0.16656,
    "h": 117.5
  },
  "luminance": 0.50542
}

Semantic roles & 50–950 ramp

primary
#B2C732
secondary
#372E70
accent
#45E35B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C732

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

Preview Lab → · Contrast checker → · Palette generator →

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