#B5BF40#B5BF40

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

Color values

HEX#B5BF40
RGBrgb(181, 191, 64)
HSLhsl(65, 50%, 50%)
HSVhsv(65, 66%, 75%)
CMYKcmyk(5.2%, 0%, 66.5%, 25.1%)
CIE-LABlab(74.48, -19.69, 60.18)
CIE-LCHlch(74.48, 63.32, 108.12°)
OKLaboklab(77.32% -0.0595 0.1355)
OKLCHoklch(77.32% 0.148 113.7)
XYZxyz(38.6133, 47.4563, 11.9754)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF40 #4A40BF
analogous
#BF8940 #B5BF40 #76BF40
triadic
#B5BF40 #40B5BF #BF40B5
tetradic
#B5BF40 #40BF89 #4A40BF #BF4076
square
#B5BF40 #40BF89 #4A40BF #BF4076
split-complementary
#B5BF40 #4076BF #8940BF
monochromatic
#5E6321 #8A9131 #B5BF40 #C7CE6E #D9DE9C

Accessibility & contrast

On white

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

On black

10.49
#B5BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF40
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF40#FFFFFF#000000##000000
##B5BF401.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bf40;
/* rgb */ color: rgb(181, 191, 64);
/* oklch */ color: oklch(77.3% 0.148 113.7);
Tailwind
colors: {
  custom: {
    50: '#ced27c',
    500: '#b5bf40',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf40;
$custom-light: #ced27c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf40",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 64.724,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.77323,
    "c": 0.14797,
    "h": 113.7
  },
  "luminance": 0.47456
}

Semantic roles & 50–950 ramp

primary
#B5BF40
secondary
#9591CA
accent
#4ED959
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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