#B9B651#B9B651

#B9B651 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.124 H 107.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B9B651
RGBrgb(185, 182, 81)
HSLhsl(58, 43%, 52%)
HSVhsv(58, 56%, 73%)
CMYKcmyk(0%, 1.6%, 56.2%, 27.5%)
CIE-LABlab(72.47, -12.29, 50.80)
CIE-LCHlch(72.47, 52.26, 103.60°)
OKLaboklab(75.84% -0.037 0.1179)
OKLCHoklch(75.84% 0.124 107.4)
XYZxyz(38.2218, 44.3654, 14.3330)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B651 #5154B9
analogous
#B98251 #B9B651 #88B951
triadic
#B9B651 #51B9B6 #B651B9
tetradic
#B9B651 #51B982 #5154B9 #B95188
square
#B9B651 #51B982 #5154B9 #B95188
split-complementary
#B9B651 #5188B9 #8251B9
monochromatic
#666529 #92903B #B9B651 #CBC87D #DCDBA8

Accessibility & contrast

On white

2.13
#B9B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#B9B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B651
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B651#FFFFFF#000000##000000
##B9B6511.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#C5ABA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b651;
/* rgb */ color: rgb(185, 182, 81);
/* oklch */ color: oklch(75.8% 0.124 107.4);
Tailwind
colors: {
  custom: {
    50: '#d0cb85',
    500: '#b9b651',
    950: '#000000',
  },
}
SCSS
$custom: #b9b651;
$custom-light: #d0cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b651",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 58.269,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.12354,
    "h": 107.4
  },
  "luminance": 0.44364
}

Semantic roles & 50–950 ramp

primary
#B9B651
secondary
#9C9ECA
accent
#59D255
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B651

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

Preview Lab → · Contrast checker → · Palette generator →

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