#B8BF3A#B8BF3A

#B8BF3A is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.151 H 112.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B8BF3A
RGBrgb(184, 191, 58)
HSLhsl(63, 53%, 49%)
HSVhsv(63, 70%, 75%)
CMYKcmyk(3.7%, 0%, 69.6%, 25.1%)
CIE-LABlab(74.67, -18.77, 62.74)
CIE-LCHlch(74.67, 65.49, 106.65°)
OKLaboklab(77.52% -0.0577 0.1398)
OKLCHoklch(77.52% 0.151 112.4)
XYZxyz(39.1629, 47.7583, 11.1574)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF3A #413ABF
analogous
#BF843A #B8BF3A #76BF3A
triadic
#B8BF3A #3AB8BF #BF3AB8
tetradic
#B8BF3A #3ABF84 #413ABF #BF3A76
square
#B8BF3A #3ABF84 #413ABF #BF3A76
split-complementary
#B8BF3A #3A76BF #843ABF
monochromatic
#5E611D #8B902C #B8BF3A #CBD066 #DBDF95

Accessibility & contrast

On white

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

On black

10.55
#B8BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF3A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF3A#FFFFFF#000000##000000
##B8BF3A1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB624
Deuteranopia (green-blind)
#CEB944
Tritanopia (blue-blind)
#C4B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf3a;
/* rgb */ color: rgb(184, 191, 58);
/* oklch */ color: oklch(77.5% 0.151 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d279',
    500: '#b8bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf3a;
$custom-light: #d1d279;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf3a",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 63.158,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77521,
    "c": 0.15126,
    "h": 112.4
  },
  "luminance": 0.47757
}

Semantic roles & 50–950 ramp

primary
#B8BF3A
secondary
#8E8BCA
accent
#4BDD53
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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