#B8BF2A#B8BF2A

#B8BF2A is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.160 H 112.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#B8BF2A
RGBrgb(184, 191, 42)
HSLhsl(63, 64%, 46%)
HSVhsv(63, 78%, 75%)
CMYKcmyk(3.7%, 0%, 78%, 25.1%)
CIE-LABlab(74.58, -19.49, 67.99)
CIE-LCHlch(74.58, 70.72, 105.99°)
OKLaboklab(77.42% -0.0611 0.1481)
OKLCHoklch(77.42% 0.16 112.4)
XYZxyz(38.8172, 47.6201, 9.3368)
Luminance0.4762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF2A #312ABF
analogous
#BF7B2A #B8BF2A #6DBF2A
triadic
#B8BF2A #2AB8BF #BF2AB8
tetradic
#B8BF2A #2ABF7B #312ABF #BF2A6D
square
#B8BF2A #2ABF7B #312ABF #BF2A6D
split-complementary
#B8BF2A #2A6DBF #7B2ABF
monochromatic
#575B14 #888D1F #B8BF2A #D2D84E #DEE380

Accessibility & contrast

On white

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

On black

10.52
#B8BF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF2A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF2A#FFFFFF#000000##000000
##B8BF2A1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C5B3A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b8bf2a;
/* rgb */ color: rgb(184, 191, 42);
/* oklch */ color: oklch(77.4% 0.160 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d271',
    500: '#b8bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf2a;
$custom-light: #d1d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf2a",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 62.819,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77423,
    "c": 0.16023,
    "h": 112.4
  },
  "luminance": 0.47619
}

Semantic roles & 50–950 ramp

primary
#B8BF2A
secondary
#7D79CC
accent
#41E749
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B8BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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