#B9B471#B9B471

#B9B471 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.088 H 104.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B9B471
RGBrgb(185, 180, 113)
HSLhsl(56, 34%, 58%)
HSVhsv(56, 39%, 73%)
CMYKcmyk(0%, 2.7%, 38.9%, 27.5%)
CIE-LABlab(72.33, -8.20, 34.81)
CIE-LCHlch(72.33, 35.76, 103.26°)
OKLaboklab(75.86% -0.0222 0.0851)
OKLCHoklch(75.86% 0.088 104.6)
XYZxyz(39.3101, 44.1500, 22.0706)
Luminance0.4415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B471 #7176B9
analogous
#B99071 #B9B471 #9AB971
triadic
#B9B471 #71B9B4 #B471B9
tetradic
#B9B471 #71B990 #7176B9 #B9719A
square
#B9B471 #71B990 #7176B9 #B9719A
split-complementary
#B9B471 #719AB9 #9071B9
monochromatic
#76713A #9F994E #B9B471 #CDCA9A #E1DFC3

Accessibility & contrast

On white

2.14
#B9B471 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#B9B471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B471
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B471#FFFFFF#000000##000000
##B9B4711.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAF6C
Deuteranopia (green-blind)
#C1B374
Tritanopia (blue-blind)
#C3ACA3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b471;
/* rgb */ color: rgb(185, 180, 113);
/* oklch */ color: oklch(75.9% 0.088 104.6);
Tailwind
colors: {
  custom: {
    50: '#cfca9b',
    500: '#b9b471',
    950: '#000000',
  },
}
SCSS
$custom: #b9b471;
$custom-light: #cfca9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b471",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 113
  },
  "hsl": {
    "h": 55.833,
    "s": 33.962,
    "l": 58.431
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.08796,
    "h": 104.6
  },
  "luminance": 0.44149
}

Semantic roles & 50–950 ramp

primary
#B9B471
secondary
#B5B7D1
accent
#65CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B471

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

Preview Lab → · Contrast checker → · Palette generator →

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