#B5BA32#B5BA32

#B5BA32 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.152 H 111.6°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#B5BA32
RGBrgb(181, 186, 50)
HSLhsl(62, 58%, 46%)
HSVhsv(62, 73%, 73%)
CMYKcmyk(2.7%, 0%, 73.1%, 27.1%)
CIE-LABlab(73.01, -17.93, 63.90)
CIE-LCHlch(73.01, 66.37, 105.68°)
OKLaboklab(76.11% -0.0559 0.141)
OKLCHoklch(76.11% 0.152 111.6)
XYZxyz(37.1919, 45.1728, 9.7770)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BA32 #3732BA
analogous
#BA7B32 #B5BA32 #71BA32
triadic
#B5BA32 #32B5BA #BA32B5
tetradic
#B5BA32 #32BA7B #3732BA #BA3271
square
#B5BA32 #32BA7B #3732BA #BA3271
split-complementary
#B5BA32 #3271BA #7B32BA
monochromatic
#575A18 #868A25 #B5BA32 #CDD257 #DCDF88

Accessibility & contrast

On white

2.09
#B5BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#B5BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BA32
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BA32#FFFFFF#000000##000000
##B5BA321.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5ba32;
/* rgb */ color: rgb(181, 186, 50);
/* oklch */ color: oklch(76.1% 0.152 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfce74',
    500: '#b5ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b5ba32;
$custom-light: #cfce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5ba32",
  "rgb": {
    "r": 181,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 62.206,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.15167,
    "h": 111.6
  },
  "luminance": 0.45172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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