#B2C332#B2C332

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

Color values

HEX#B2C332
RGBrgb(178, 195, 50)
HSLhsl(67, 59%, 48%)
HSVhsv(67, 74%, 76%)
CMYKcmyk(8.7%, 0%, 74.4%, 23.5%)
CIE-LABlab(75.28, -23.65, 65.97)
CIE-LCHlch(75.28, 70.08, 109.73°)
OKLaboklab(77.88% -0.0716 0.1455)
OKLCHoklch(77.88% 0.162 116.2)
XYZxyz(38.4519, 48.7260, 10.3964)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C332 #4332C3
analogous
#C38B32 #B2C332 #6AC332
triadic
#B2C332 #32B2C3 #C332B2
tetradic
#B2C332 #32C38B #4332C3 #C3326A
square
#B2C332 #32C38B #4332C3 #C3326A
split-complementary
#B2C332 #326AC3 #8B32C3
monochromatic
#596219 #869226 #B2C332 #C7D55D #D8E28E

Accessibility & contrast

On white

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

On black

10.75
#B2C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C332
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C332#FFFFFF#000000##000000
##B2C3321.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B911
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#BDB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c332;
/* rgb */ color: rgb(178, 195, 50);
/* oklch */ color: oklch(77.9% 0.162 116.2);
Tailwind
colors: {
  custom: {
    50: '#cdd575',
    500: '#b2c332',
    950: '#000000',
  },
}
SCSS
$custom: #b2c332;
$custom-light: #cdd575;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c332",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 67.034,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7788,
    "c": 0.16215,
    "h": 116.2
  },
  "luminance": 0.48725
}

Semantic roles & 50–950 ramp

primary
#B2C332
secondary
#8D85CC
accent
#45E258
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C332

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

Preview Lab → · Contrast checker → · Palette generator →

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