#B5BF33#B5BF33

#B5BF33 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.46:1 contrast (WCAG AA passes).

Color values

HEX#B5BF33
RGBrgb(181, 191, 51)
HSLhsl(64, 58%, 47%)
HSVhsv(64, 73%, 75%)
CMYKcmyk(5.2%, 0%, 73.3%, 25.1%)
CIE-LABlab(74.40, -20.38, 64.88)
CIE-LCHlch(74.40, 68.00, 107.44°)
OKLaboklab(77.23% -0.0626 0.1432)
OKLCHoklch(77.23% 0.156 113.6)
XYZxyz(38.2856, 47.3252, 10.2492)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF33 #3D33BF
analogous
#BF8333 #B5BF33 #6FBF33
triadic
#B5BF33 #33B5BF #BF33B5
tetradic
#B5BF33 #33BF83 #3D33BF #BF336F
square
#B5BF33 #33BF83 #3D33BF #BF336F
split-complementary
#B5BF33 #336FBF #8333BF
monochromatic
#595E19 #878F26 #B5BF33 #CBD35C #DAE08C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BF33#FFFFFF#000000##000000
##B5BF331.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)
#CDB616
Deuteranopia (green-blind)
#CDB83F
Tritanopia (blue-blind)
#C1B4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf33;
/* rgb */ color: rgb(181, 191, 51);
/* oklch */ color: oklch(77.2% 0.156 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd275',
    500: '#b5bf33',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf33;
$custom-light: #cfd275;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf33",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 51
  },
  "hsl": {
    "h": 64.286,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7723,
    "c": 0.15634,
    "h": 113.6
  },
  "luminance": 0.47324
}

Semantic roles & 50–950 ramp

primary
#B5BF33
secondary
#8883CB
accent
#47E152
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF33

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

Preview Lab → · Contrast checker → · Palette generator →

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