#B5BF54#B5BF54

#B5BF54 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.132 H 113.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B5BF54
RGBrgb(181, 191, 84)
HSLhsl(66, 46%, 54%)
HSVhsv(66, 56%, 75%)
CMYKcmyk(5.2%, 0%, 56%, 25.1%)
CIE-LABlab(74.65, -18.28, 51.80)
CIE-LCHlch(74.65, 54.94, 109.44°)
OKLaboklab(77.52% -0.0535 0.1204)
OKLCHoklch(77.52% 0.132 113.9)
XYZxyz(39.2879, 47.7261, 15.5282)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF54 #5E54BF
analogous
#BF9454 #B5BF54 #80BF54
triadic
#B5BF54 #54B5BF #BF54B5
tetradic
#B5BF54 #54BF94 #5E54BF #BF5480
square
#B5BF54 #54BF94 #5E54BF #BF5480
split-complementary
#B5BF54 #5480BF #9454BF
monochromatic
#696F2A #929C3A #B5BF54 #C8D081 #DCE0AD

Accessibility & contrast

On white

1.99
#B5BF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B5BF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF54
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF54#FFFFFF#000000##000000
##B5BF541.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#C0B5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5bf54;
/* rgb */ color: rgb(181, 191, 84);
/* oklch */ color: oklch(77.5% 0.132 113.9);
Tailwind
colors: {
  custom: {
    50: '#cdd288',
    500: '#b5bf54',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf54;
$custom-light: #cdd288;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf54",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 65.607,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77515,
    "c": 0.13177,
    "h": 113.9
  },
  "luminance": 0.47725
}

Semantic roles & 50–950 ramp

primary
#B5BF54
secondary
#A5A1CE
accent
#53D55F
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B5BF54

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

Preview Lab → · Contrast checker → · Palette generator →

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