#B5BF45#B5BF45

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

Color values

HEX#B5BF45
RGBrgb(181, 191, 69)
HSLhsl(65, 49%, 51%)
HSVhsv(65, 64%, 75%)
CMYKcmyk(5.2%, 0%, 63.9%, 25.1%)
CIE-LABlab(74.52, -19.38, 58.20)
CIE-LCHlch(74.52, 61.34, 108.42°)
OKLaboklab(77.37% -0.0581 0.1321)
OKLCHoklch(77.37% 0.144 113.7)
XYZxyz(38.7620, 47.5158, 12.7586)
Luminance0.4752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF45 #4F45BF
analogous
#BF8C45 #B5BF45 #78BF45
triadic
#B5BF45 #45B5BF #BF45B5
tetradic
#B5BF45 #45BF8C #4F45BF #BF4578
square
#B5BF45 #45BF8C #4F45BF #BF4578
split-complementary
#B5BF45 #4578BF #8C45BF
monochromatic
#616623 #8C9433 #B5BF45 #C7CF73 #D9DEA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BF45#FFFFFF#000000##000000
##B5BF451.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)
#CCB635
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#C0B4A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf45;
/* rgb */ color: rgb(181, 191, 69);
/* oklch */ color: oklch(77.4% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#ced27f',
    500: '#b5bf45',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf45;
$custom-light: #ced27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf45",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 64.918,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77366,
    "c": 0.14429,
    "h": 113.7
  },
  "luminance": 0.47515
}

Semantic roles & 50–950 ramp

primary
#B5BF45
secondary
#9995CB
accent
#4FD85B
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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