#B2C232#B2C232

#B2C232 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.161 H 115.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B2C232
RGBrgb(178, 194, 50)
HSLhsl(67, 59%, 48%)
HSVhsv(67, 74%, 76%)
CMYKcmyk(8.2%, 0%, 74.2%, 23.9%)
CIE-LABlab(75.00, -23.17, 65.70)
CIE-LCHlch(75.00, 69.67, 109.42°)
OKLaboklab(77.66% -0.0703 0.1449)
OKLCHoklch(77.66% 0.161 115.9)
XYZxyz(38.2286, 48.2794, 10.3220)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C232 #4232C2
analogous
#C28A32 #B2C232 #6AC232
triadic
#B2C232 #32B2C2 #C232B2
tetradic
#B2C232 #32C28A #4232C2 #C2326A
square
#B2C232 #32C28A #4232C2 #C2326A
split-complementary
#B2C232 #326AC2 #8A32C2
monochromatic
#596119 #859125 #B2C232 #C8D55C #D8E28D

Accessibility & contrast

On white

1.97
#B2C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B2C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C232
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C232#FFFFFF#000000##000000
##B2C2321.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B812
Deuteranopia (green-blind)
#CEBA3E
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c232;
/* rgb */ color: rgb(178, 194, 50);
/* oklch */ color: oklch(77.7% 0.161 115.9);
Tailwind
colors: {
  custom: {
    50: '#cdd475',
    500: '#b2c232',
    950: '#000000',
  },
}
SCSS
$custom: #b2c232;
$custom-light: #cdd475;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c232",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 66.667,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77656,
    "c": 0.16106,
    "h": 115.9
  },
  "luminance": 0.48279
}

Semantic roles & 50–950 ramp

primary
#B2C232
secondary
#8C84CC
accent
#46E257
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C232

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

Preview Lab → · Contrast checker → · Palette generator →

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