#B5BF58#B5BF58

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

Color values

HEX#B5BF58
RGBrgb(181, 191, 88)
HSLhsl(66, 45%, 55%)
HSVhsv(66, 54%, 75%)
CMYKcmyk(5.2%, 0%, 53.9%, 25.1%)
CIE-LABlab(74.69, -17.95, 50.00)
CIE-LCHlch(74.69, 53.13, 109.75°)
OKLaboklab(77.56% -0.0521 0.117)
OKLCHoklch(77.56% 0.128 114)
XYZxyz(39.4491, 47.7906, 16.3770)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF58 #6258BF
analogous
#BF9558 #B5BF58 #82BF58
triadic
#B5BF58 #58B5BF #BF58B5
tetradic
#B5BF58 #58BF95 #6258BF #BF5882
square
#B5BF58 #58BF95 #6258BF #BF5882
split-complementary
#B5BF58 #5882BF #9558BF
monochromatic
#6A712B #949D3C #B5BF58 #C9D084 #DCE1B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5BF58#FFFFFF#000000##000000
##B5BF581.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)
#CBB74E
Deuteranopia (green-blind)
#CBB95E
Tritanopia (blue-blind)
#BFB5A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5bf58;
/* rgb */ color: rgb(181, 191, 88);
/* oklch */ color: oklch(77.6% 0.128 114.0);
Tailwind
colors: {
  custom: {
    50: '#cdd28a',
    500: '#b5bf58',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf58;
$custom-light: #cdd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf58",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 65.825,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77561,
    "c": 0.12808,
    "h": 114
  },
  "luminance": 0.4779
}

Semantic roles & 50–950 ramp

primary
#B5BF58
secondary
#A8A4CF
accent
#54D460
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140C
muted
#82827D

Preview Lab

Preview with #B5BF58

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

Preview Lab → · Contrast checker → · Palette generator →

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