#B2C032#B2C032

#B2C032 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.159 H 115.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#B2C032
RGBrgb(178, 192, 50)
HSLhsl(66, 59%, 47%)
HSVhsv(66, 74%, 75%)
CMYKcmyk(7.3%, 0%, 74%, 24.7%)
CIE-LABlab(74.44, -22.18, 65.18)
CIE-LCHlch(74.44, 68.85, 108.80°)
OKLaboklab(77.21% -0.0676 0.1438)
OKLCHoklch(77.21% 0.159 115.2)
XYZxyz(37.7865, 47.3952, 10.1746)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C032 #4032C0
analogous
#C08732 #B2C032 #6BC032
triadic
#B2C032 #32B2C0 #C032B2
tetradic
#B2C032 #32C087 #4032C0 #C0326B
square
#B2C032 #32C087 #4032C0 #C0326B
split-complementary
#B2C032 #326BC0 #8732C0
monochromatic
#585F19 #858F25 #B2C032 #C8D45B #D8E18B

Accessibility & contrast

On white

2.00
#B2C032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#B2C032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C032
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C032#FFFFFF#000000##000000
##B2C0321.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB613
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#BEB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c032;
/* rgb */ color: rgb(178, 192, 50);
/* oklch */ color: oklch(77.2% 0.159 115.2);
Tailwind
colors: {
  custom: {
    50: '#cdd275',
    500: '#b2c032',
    950: '#000000',
  },
}
SCSS
$custom: #b2c032;
$custom-light: #cdd275;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c032",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 50
  },
  "hsl": {
    "h": 65.915,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77207,
    "c": 0.15888,
    "h": 115.2
  },
  "luminance": 0.47395
}

Semantic roles & 50–950 ramp

primary
#B2C032
secondary
#8A83CB
accent
#46E255
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C032

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

Preview Lab → · Contrast checker → · Palette generator →

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