#B5BF42#B5BF42

#B5BF42 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.147 H 113.7°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B5BF42
RGBrgb(181, 191, 66)
HSLhsl(65, 49%, 50%)
HSVhsv(65, 65%, 75%)
CMYKcmyk(5.2%, 0%, 65.4%, 25.1%)
CIE-LABlab(74.50, -19.57, 59.40)
CIE-LCHlch(74.50, 62.54, 108.23°)
OKLaboklab(77.34% -0.0589 0.1342)
OKLCHoklch(77.34% 0.147 113.7)
XYZxyz(38.6712, 47.4794, 12.2805)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF42 #4C42BF
analogous
#BF8A42 #B5BF42 #76BF42
triadic
#B5BF42 #42B5BF #BF42B5
tetradic
#B5BF42 #42BF8A #4C42BF #BF4276
square
#B5BF42 #42BF8A #4C42BF #BF4276
split-complementary
#B5BF42 #4276BF #8A42BF
monochromatic
#5F6522 #8B9232 #B5BF42 #C7CE70 #D9DE9D

Accessibility & contrast

On white

2.00
#B5BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B5BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF42
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF42#FFFFFF#000000##000000
##B5BF421.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#C1B4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf42;
/* rgb */ color: rgb(181, 191, 66);
/* oklch */ color: oklch(77.3% 0.147 113.7);
Tailwind
colors: {
  custom: {
    50: '#ced27d',
    500: '#b5bf42',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf42;
$custom-light: #ced27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf42",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 64.8,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.14654,
    "h": 113.7
  },
  "luminance": 0.47479
}

Semantic roles & 50–950 ramp

primary
#B5BF42
secondary
#9793CA
accent
#4FD95A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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