#B5BF3A#B5BF3A

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

Color values

HEX#B5BF3A
RGBrgb(181, 191, 58)
HSLhsl(65, 53%, 49%)
HSVhsv(65, 70%, 75%)
CMYKcmyk(5.2%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.44, -20.03, 62.43)
CIE-LCHlch(74.44, 65.57, 107.79°)
OKLaboklab(77.28% -0.061 0.1393)
OKLCHoklch(77.28% 0.152 113.7)
XYZxyz(38.4517, 47.3916, 11.1241)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF3A #443ABF
analogous
#BF873A #B5BF3A #73BF3A
triadic
#B5BF3A #3AB5BF #BF3AB5
tetradic
#B5BF3A #3ABF87 #443ABF #BF3A73
square
#B5BF3A #3ABF87 #443ABF #BF3A73
split-complementary
#B5BF3A #3A73BF #873ABF
monochromatic
#5C611D #89902C #B5BF3A #C8D066 #D9DF95

Accessibility & contrast

On white

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

On black

10.48
#B5BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF3A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF3A#FFFFFF#000000##000000
##B5BF3A1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#CDB844
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf3a;
/* rgb */ color: rgb(181, 191, 58);
/* oklch */ color: oklch(77.3% 0.152 113.7);
Tailwind
colors: {
  custom: {
    50: '#ced279',
    500: '#b5bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf3a;
$custom-light: #ced279;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf3a",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 64.511,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77277,
    "c": 0.15206,
    "h": 113.7
  },
  "luminance": 0.47391
}

Semantic roles & 50–950 ramp

primary
#B5BF3A
secondary
#908BCA
accent
#4BDD56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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