#B8B671#B8B671

#B8B671 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.090 H 106.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B8B671
RGBrgb(184, 182, 113)
HSLhsl(58, 33%, 58%)
HSVhsv(58, 39%, 72%)
CMYKcmyk(0%, 1.1%, 38.6%, 27.8%)
CIE-LABlab(72.79, -9.65, 35.37)
CIE-LCHlch(72.79, 36.67, 105.25°)
OKLaboklab(76.2% -0.0263 0.0864)
OKLCHoklch(76.2% 0.09 106.9)
XYZxyz(39.4763, 44.8393, 22.1949)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B671 #7173B8
analogous
#B89271 #B8B671 #96B871
triadic
#B8B671 #71B8B6 #B671B8
tetradic
#B8B671 #71B892 #7173B8 #B87196
square
#B8B671 #71B892 #7173B8 #B87196
split-complementary
#B8B671 #7196B8 #9271B8
monochromatic
#74733A #9D9B4F #B8B671 #CCCB9A #E1E0C3

Accessibility & contrast

On white

2.11
#B8B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B8B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B671
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B671#FFFFFF#000000##000000
##B8B6711.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b671;
/* rgb */ color: rgb(184, 182, 113);
/* oklch */ color: oklch(76.2% 0.090 106.9);
Tailwind
colors: {
  custom: {
    50: '#cecb9b',
    500: '#b8b671',
    950: '#000000',
  },
}
SCSS
$custom: #b8b671;
$custom-light: #cecb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b671",
  "rgb": {
    "r": 184,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 58.31,
    "s": 33.333,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.09033,
    "h": 106.9
  },
  "luminance": 0.44838
}

Semantic roles & 50–950 ramp

primary
#B8B671
secondary
#B4B5D1
accent
#61C95E
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8B671

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

Preview Lab → · Contrast checker → · Palette generator →

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