#B4C332#B4C332

#B4C332 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.0% C 0.162 H 115.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B4C332
RGBrgb(180, 195, 50)
HSLhsl(66, 59%, 48%)
HSVhsv(66, 74%, 76%)
CMYKcmyk(7.7%, 0%, 74.4%, 23.5%)
CIE-LABlab(75.43, -22.82, 66.16)
CIE-LCHlch(75.43, 69.98, 109.03°)
OKLaboklab(78.04% -0.0694 0.1458)
OKLCHoklch(78.04% 0.162 115.5)
XYZxyz(38.9143, 48.9644, 10.4181)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C332 #4132C3
analogous
#C38932 #B4C332 #6BC332
triadic
#B4C332 #32B4C3 #C332B4
tetradic
#B4C332 #32C389 #4132C3 #C3326B
square
#B4C332 #32C389 #4132C3 #C3326B
split-complementary
#B4C332 #326BC3 #8932C3
monochromatic
#5A6219 #879226 #B4C332 #C9D55D #D9E28E

Accessibility & contrast

On white

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

On black

10.79
#B4C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C332
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C332#FFFFFF#000000##000000
##B4C3321.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B911
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c332;
/* rgb */ color: rgb(180, 195, 50);
/* oklch */ color: oklch(78.0% 0.162 115.5);
Tailwind
colors: {
  custom: {
    50: '#ced575',
    500: '#b4c332',
    950: '#000000',
  },
}
SCSS
$custom: #b4c332;
$custom-light: #ced575;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c332",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 66.207,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78037,
    "c": 0.1615,
    "h": 115.5
  },
  "luminance": 0.48964
}

Semantic roles & 50–950 ramp

primary
#B4C332
secondary
#8C85CC
accent
#45E256
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C332

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

Preview Lab → · Contrast checker → · Palette generator →

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