#B9BF52#B9BF52

#B9BF52 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.8% C 0.133 H 112.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B9BF52
RGBrgb(185, 191, 82)
HSLhsl(63, 46%, 54%)
HSVhsv(63, 57%, 75%)
CMYKcmyk(3.1%, 0%, 57.1%, 25.1%)
CIE-LABlab(74.94, -16.79, 53.12)
CIE-LCHlch(74.94, 55.71, 107.54°)
OKLaboklab(77.82% -0.0497 0.123)
OKLCHoklch(77.82% 0.133 112)
XYZxyz(40.1623, 48.1859, 15.1661)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF52 #5852BF
analogous
#BF8E52 #B9BF52 #82BF52
triadic
#B9BF52 #52B9BF #BF52B9
tetradic
#B9BF52 #52BF8E #5852BF #BF5282
square
#B9BF52 #52BF8E #5852BF #BF5282
split-complementary
#B9BF52 #5282BF #8E52BF
monochromatic
#6A6E29 #959B39 #B9BF52 #CBD07F #DDE0AB

Accessibility & contrast

On white

1.97
#B9BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B9BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF52
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF52#FFFFFF#000000##000000
##B9BF521.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB746
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#C4B5A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf52;
/* rgb */ color: rgb(185, 191, 82);
/* oklch */ color: oklch(77.8% 0.133 112.0);
Tailwind
colors: {
  custom: {
    50: '#d0d286',
    500: '#b9bf52',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf52;
$custom-light: #d0d286;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf52",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 63.303,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77817,
    "c": 0.13261,
    "h": 112
  },
  "luminance": 0.48185
}

Semantic roles & 50–950 ramp

primary
#B9BF52
secondary
#A29FCE
accent
#52D659
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B9BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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