#B2C328#B2C328

#B2C328 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.8% C 0.167 H 116.1°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#B2C328
RGBrgb(178, 195, 40)
HSLhsl(67, 66%, 46%)
HSVhsv(67, 79%, 76%)
CMYKcmyk(8.7%, 0%, 79.5%, 23.5%)
CIE-LABlab(75.23, -24.06, 68.96)
CIE-LCHlch(75.23, 73.04, 109.24°)
OKLaboklab(77.83% -0.0735 0.1501)
OKLCHoklch(77.83% 0.167 116.1)
XYZxyz(38.2593, 48.6490, 9.3818)
Luminance0.4865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C328 #3928C3
analogous
#C38628 #B2C328 #64C328
triadic
#B2C328 #28B2C3 #C328B2
tetradic
#B2C328 #28C386 #3928C3 #C32864
square
#B2C328 #28C386 #3928C3 #C32864
split-complementary
#B2C328 #2864C3 #8628C3
monochromatic
#555D13 #84901E #B2C328 #CBDB4E #DAE580

Accessibility & contrast

On white

1.96
#B2C328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#B2C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C328
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C328#FFFFFF#000000##000000
##B2C3281.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B800
Deuteranopia (green-blind)
#D0BA37
Tritanopia (blue-blind)
#BEB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c328;
/* rgb */ color: rgb(178, 195, 40);
/* oklch */ color: oklch(77.8% 0.167 116.1);
Tailwind
colors: {
  custom: {
    50: '#cdd570',
    500: '#b2c328',
    950: '#000000',
  },
}
SCSS
$custom: #b2c328;
$custom-light: #cdd570;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c328",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 66.581,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77826,
    "c": 0.16715,
    "h": 116.1
  },
  "luminance": 0.48648
}

Semantic roles & 50–950 ramp

primary
#B2C328
secondary
#8279CE
accent
#3FE952
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141408
muted
#83837B

Preview Lab

Preview with #B2C328

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

Preview Lab → · Contrast checker → · Palette generator →

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