#B5BF32#B5BF32

#B5BF32 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.157 H 113.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#B5BF32
RGBrgb(181, 191, 50)
HSLhsl(64, 59%, 47%)
HSVhsv(64, 74%, 75%)
CMYKcmyk(5.2%, 0%, 73.8%, 25.1%)
CIE-LABlab(74.39, -20.43, 65.21)
CIE-LCHlch(74.39, 68.33, 107.39°)
OKLaboklab(77.22% -0.0628 0.1438)
OKLCHoklch(77.22% 0.157 113.6)
XYZxyz(38.2637, 47.3164, 10.1343)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF32 #3C32BF
analogous
#BF8232 #B5BF32 #6FBF32
triadic
#B5BF32 #32B5BF #BF32B5
tetradic
#B5BF32 #32BF82 #3C32BF #BF326F
square
#B5BF32 #32BF82 #3C32BF #BF326F
split-complementary
#B5BF32 #326FBF #8232BF
monochromatic
#595E19 #878E25 #B5BF32 #CBD45A #DBE18B

Accessibility & contrast

On white

2.01
#B5BF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#B5BF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF32
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF32#FFFFFF#000000##000000
##B5BF321.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB613
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf32;
/* rgb */ color: rgb(181, 191, 50);
/* oklch */ color: oklch(77.2% 0.157 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd274',
    500: '#b5bf32',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf32;
$custom-light: #cfd274;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf32",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 50
  },
  "hsl": {
    "h": 64.255,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77224,
    "c": 0.15691,
    "h": 113.6
  },
  "luminance": 0.47316
}

Semantic roles & 50–950 ramp

primary
#B5BF32
secondary
#8782CB
accent
#46E251
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF32

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

Preview Lab → · Contrast checker → · Palette generator →

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