#B9BF2A#B9BF2A

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

Color values

HEX#B9BF2A
RGBrgb(185, 191, 42)
HSLhsl(62, 64%, 46%)
HSVhsv(62, 78%, 75%)
CMYKcmyk(3.1%, 0%, 78%, 25.1%)
CIE-LABlab(74.66, -19.06, 68.09)
CIE-LCHlch(74.66, 70.70, 105.64°)
OKLaboklab(77.51% -0.0599 0.1483)
OKLCHoklch(77.51% 0.16 112)
XYZxyz(39.0576, 47.7440, 9.3481)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF2A #302ABF
analogous
#BF7A2A #B9BF2A #6EBF2A
triadic
#B9BF2A #2AB9BF #BF2AB9
tetradic
#B9BF2A #2ABF7A #302ABF #BF2A6E
square
#B9BF2A #2ABF7A #302ABF #BF2A6E
split-complementary
#B9BF2A #2A6EBF #7A2ABF
monochromatic
#585B14 #888D1F #B9BF2A #D3D84E #DFE380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BF2A#FFFFFF#000000##000000
##B9BF2A1.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)
#CEB600
Deuteranopia (green-blind)
#CFB938
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf2a;
/* rgb */ color: rgb(185, 191, 42);
/* oklch */ color: oklch(77.5% 0.160 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d271',
    500: '#b9bf2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf2a;
$custom-light: #d2d271;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf2a",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 42
  },
  "hsl": {
    "h": 62.416,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.15996,
    "h": 112
  },
  "luminance": 0.47743
}

Semantic roles & 50–950 ramp

primary
#B9BF2A
secondary
#7C79CC
accent
#41E748
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B9BF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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