#B5BF34#B5BF34

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

Color values

HEX#B5BF34
RGBrgb(181, 191, 52)
HSLhsl(64, 57%, 48%)
HSVhsv(64, 73%, 75%)
CMYKcmyk(5.2%, 0%, 72.8%, 25.1%)
CIE-LABlab(74.40, -20.33, 64.54)
CIE-LCHlch(74.40, 67.67, 107.49°)
OKLaboklab(77.24% -0.0624 0.1427)
OKLCHoklch(77.24% 0.156 113.6)
XYZxyz(38.3078, 47.3341, 10.3666)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF34 #3E34BF
analogous
#BF8434 #B5BF34 #6FBF34
triadic
#B5BF34 #34B5BF #BF34B5
tetradic
#B5BF34 #34BF84 #3E34BF #BF346F
square
#B5BF34 #34BF84 #3E34BF #BF346F
split-complementary
#B5BF34 #346FBF #8434BF
monochromatic
#5A5F1A #878F27 #B5BF34 #CAD35D #DAE08D

Accessibility & contrast

On white

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

On black

10.47
#B5BF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF34
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF34#FFFFFF#000000##000000
##B5BF341.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB618
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#C1B4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf34;
/* rgb */ color: rgb(181, 191, 52);
/* oklch */ color: oklch(77.2% 0.156 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd275',
    500: '#b5bf34',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf34;
$custom-light: #cfd275;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf34",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 64.317,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77236,
    "c": 0.15575,
    "h": 113.6
  },
  "luminance": 0.47333
}

Semantic roles & 50–950 ramp

primary
#B5BF34
secondary
#8984CA
accent
#47E052
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF34

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

Preview Lab → · Contrast checker → · Palette generator →

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