#B8BF37#B8BF37

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

Color values

HEX#B8BF37
RGBrgb(184, 191, 55)
HSLhsl(63, 55%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.7%, 0%, 71.2%, 25.1%)
CIE-LABlab(74.65, -18.92, 63.81)
CIE-LCHlch(74.65, 66.56, 106.52°)
OKLaboklab(77.5% -0.0584 0.1416)
OKLCHoklch(77.5% 0.153 112.4)
XYZxyz(39.0888, 47.7287, 10.7671)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF37 #3E37BF
analogous
#BF8237 #B8BF37 #74BF37
triadic
#B8BF37 #37B8BF #BF37B8
tetradic
#B8BF37 #37BF82 #3E37BF #BF3774
square
#B8BF37 #37BF82 #3E37BF #BF3774
split-complementary
#B8BF37 #3774BF #8237BF
monochromatic
#5C601C #8A8F29 #B8BF37 #CCD262 #DBDF91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BF37#FFFFFF#000000##000000
##B8BF371.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)
#CDB61E
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf37;
/* rgb */ color: rgb(184, 191, 55);
/* oklch */ color: oklch(77.5% 0.153 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d277',
    500: '#b8bf37',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf37;
$custom-light: #d1d277;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf37",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 55
  },
  "hsl": {
    "h": 63.088,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.775,
    "c": 0.15315,
    "h": 112.4
  },
  "luminance": 0.47728
}

Semantic roles & 50–950 ramp

primary
#B8BF37
secondary
#8B88CA
accent
#49DF51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BF37

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

Preview Lab → · Contrast checker → · Palette generator →

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