#B9B671#B9B671

#B9B671 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.3% C 0.090 H 106.2°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B9B671
RGBrgb(185, 182, 113)
HSLhsl(58, 34%, 58%)
HSVhsv(58, 39%, 73%)
CMYKcmyk(0%, 1.6%, 38.9%, 27.5%)
CIE-LABlab(72.87, -9.24, 35.50)
CIE-LCHlch(72.87, 36.68, 104.59°)
OKLaboklab(76.29% -0.0252 0.0867)
OKLCHoklch(76.29% 0.09 106.2)
XYZxyz(39.7168, 44.9633, 22.2062)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B671 #7174B9
analogous
#B99271 #B9B671 #98B971
triadic
#B9B671 #71B9B6 #B671B9
tetradic
#B9B671 #71B992 #7174B9 #B97198
square
#B9B671 #71B992 #7174B9 #B97198
split-complementary
#B9B671 #7198B9 #9271B9
monochromatic
#76733A #9F9B4E #B9B671 #CDCB9A #E1E0C3

Accessibility & contrast

On white

2.10
#B9B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#B9B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B671
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B671#FFFFFF#000000##000000
##B9B6711.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16C
Deuteranopia (green-blind)
#C3B474
Tritanopia (blue-blind)
#C3AEA5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b671;
/* rgb */ color: rgb(185, 182, 113);
/* oklch */ color: oklch(76.3% 0.090 106.2);
Tailwind
colors: {
  custom: {
    50: '#cfcb9b',
    500: '#b9b671',
    950: '#000000',
  },
}
SCSS
$custom: #b9b671;
$custom-light: #cfcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b671",
  "rgb": {
    "r": 185,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 57.5,
    "s": 33.962,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76287,
    "c": 0.09028,
    "h": 106.2
  },
  "luminance": 0.44962
}

Semantic roles & 50–950 ramp

primary
#B9B671
secondary
#B5B6D1
accent
#62CA5E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B9B671

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

Preview Lab → · Contrast checker → · Palette generator →

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