#B2C330#B2C330

#B2C330 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.163 H 116.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B2C330
RGBrgb(178, 195, 48)
HSLhsl(67, 60%, 48%)
HSVhsv(67, 75%, 76%)
CMYKcmyk(8.7%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.27, -23.74, 66.61)
CIE-LCHlch(75.27, 70.71, 109.62°)
OKLaboklab(77.87% -0.072 0.1465)
OKLCHoklch(77.87% 0.163 116.2)
XYZxyz(38.4097, 48.7092, 10.1741)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C330 #4130C3
analogous
#C38B30 #B2C330 #68C330
triadic
#B2C330 #30B2C3 #C330B2
tetradic
#B2C330 #30C38B #4130C3 #C33068
square
#B2C330 #30C38B #4130C3 #C33068
split-complementary
#B2C330 #3068C3 #8B30C3
monochromatic
#586118 #859224 #B2C330 #C8D65A #D8E28B

Accessibility & contrast

On white

1.95
#B2C330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B2C330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C330
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C330#FFFFFF#000000##000000
##B2C3301.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B90A
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#BDB8A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c330;
/* rgb */ color: rgb(178, 195, 48);
/* oklch */ color: oklch(77.9% 0.163 116.2);
Tailwind
colors: {
  custom: {
    50: '#cdd574',
    500: '#b2c330',
    950: '#000000',
  },
}
SCSS
$custom: #b2c330;
$custom-light: #cdd574;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c330",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 66.939,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77869,
    "c": 0.16323,
    "h": 116.2
  },
  "luminance": 0.48709
}

Semantic roles & 50–950 ramp

primary
#B2C330
secondary
#8B82CC
accent
#44E457
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C330

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

Preview Lab → · Contrast checker → · Palette generator →

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