#B5BF5A#B5BF5A

#B5BF5A is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.6% C 0.126 H 114.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#B5BF5A
RGBrgb(181, 191, 90)
HSLhsl(66, 44%, 55%)
HSVhsv(66, 53%, 75%)
CMYKcmyk(5.2%, 0%, 52.9%, 25.1%)
CIE-LABlab(74.71, -17.78, 49.09)
CIE-LCHlch(74.71, 52.21, 109.91°)
OKLaboklab(77.59% -0.0514 0.1152)
OKLCHoklch(77.59% 0.126 114)
XYZxyz(39.5330, 47.8242, 16.8193)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF5A #645ABF
analogous
#BF975A #B5BF5A #82BF5A
triadic
#B5BF5A #5AB5BF #BF5AB5
tetradic
#B5BF5A #5ABF97 #645ABF #BF5A82
square
#B5BF5A #5ABF97 #645ABF #BF5A82
split-complementary
#B5BF5A #5A82BF #975ABF
monochromatic
#6B722C #959E3D #B5BF5A #C9D086 #DDE1B2

Accessibility & contrast

On white

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

On black

10.56
#B5BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF5A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF5A#FFFFFF#000000##000000
##B5BF5A1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB750
Deuteranopia (green-blind)
#CBB960
Tritanopia (blue-blind)
#BFB5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5bf5a;
/* rgb */ color: rgb(181, 191, 90);
/* oklch */ color: oklch(77.6% 0.126 114.0);
Tailwind
colors: {
  custom: {
    50: '#cdd28c',
    500: '#b5bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf5a;
$custom-light: #cdd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf5a",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 65.941,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77585,
    "c": 0.12619,
    "h": 114
  },
  "luminance": 0.47824
}

Semantic roles & 50–950 ramp

primary
#B5BF5A
secondary
#A9A5D0
accent
#54D461
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B5BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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