#B9BF30#B9BF30

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

Color values

HEX#B9BF30
RGBrgb(185, 191, 48)
HSLhsl(63, 60%, 47%)
HSVhsv(63, 75%, 75%)
CMYKcmyk(3.1%, 0%, 74.9%, 25.1%)
CIE-LABlab(74.69, -18.82, 66.26)
CIE-LCHlch(74.69, 68.88, 105.86°)
OKLaboklab(77.54% -0.0588 0.1455)
OKLCHoklch(77.54% 0.157 112)
XYZxyz(39.1732, 47.7903, 9.9566)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF30 #3630BF
analogous
#BF7D30 #B9BF30 #72BF30
triadic
#B9BF30 #30B9BF #BF30B9
tetradic
#B9BF30 #30BF7D #3630BF #BF3072
square
#B9BF30 #30BF7D #3630BF #BF3072
split-complementary
#B9BF30 #3072BF #7D30BF
monochromatic
#5A5D17 #8A8E24 #B9BF30 #D0D557 #DDE188

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BF30#FFFFFF#000000##000000
##B9BF301.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)
#CEB60D
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf30;
/* rgb */ color: rgb(185, 191, 48);
/* oklch */ color: oklch(77.5% 0.157 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d274',
    500: '#b9bf30',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf30;
$custom-light: #d2d274;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf30",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 62.517,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77538,
    "c": 0.15692,
    "h": 112
  },
  "luminance": 0.47789
}

Semantic roles & 50–950 ramp

primary
#B9BF30
secondary
#8380CB
accent
#45E34B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BF30

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

Preview Lab → · Contrast checker → · Palette generator →

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