#B4BA32#B4BA32

#B4BA32 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.152 H 112.1°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B4BA32
RGBrgb(180, 186, 50)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 73%, 73%)
CMYKcmyk(3.2%, 0%, 73.1%, 27.1%)
CIE-LABlab(72.93, -18.36, 63.80)
CIE-LCHlch(72.93, 66.38, 106.05°)
OKLaboklab(76.03% -0.057 0.1408)
OKLCHoklch(76.03% 0.152 112.1)
XYZxyz(36.9582, 45.0523, 9.7661)
Luminance0.4505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA32 #3832BA
analogous
#BA7C32 #B4BA32 #70BA32
triadic
#B4BA32 #32B4BA #BA32B4
tetradic
#B4BA32 #32BA7C #3832BA #BA3270
square
#B4BA32 #32BA7C #3832BA #BA3270
split-complementary
#B4BA32 #3270BA #7C32BA
monochromatic
#575A18 #858A25 #B4BA32 #CDD257 #DBDF88

Accessibility & contrast

On white

2.10
#B4BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B4BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA32
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA32#FFFFFF#000000##000000
##B4BA321.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B116
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#C0AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba32;
/* rgb */ color: rgb(180, 186, 50);
/* oklch */ color: oklch(76.0% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece74',
    500: '#b4ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba32;
$custom-light: #cece74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba32",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 62.647,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.15193,
    "h": 112.1
  },
  "luminance": 0.45051
}

Semantic roles & 50–950 ramp

primary
#B4BA32
secondary
#827FC9
accent
#47E14E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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