#B4B671#B4B671

#B4B671 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 75.9% C 0.091 H 109.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#B4B671
RGBrgb(180, 182, 113)
HSLhsl(62, 32%, 58%)
HSVhsv(62, 38%, 71%)
CMYKcmyk(1.1%, 0%, 37.9%, 28.6%)
CIE-LABlab(72.46, -11.26, 34.90)
CIE-LCHlch(72.46, 36.67, 107.88°)
OKLaboklab(75.87% -0.0307 0.0854)
OKLCHoklch(75.87% 0.091 109.8)
XYZxyz(38.5314, 44.3521, 22.1506)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B671 #7371B6
analogous
#B69571 #B4B671 #91B671
triadic
#B4B671 #71B4B6 #B671B4
tetradic
#B4B671 #71B695 #7371B6 #B67191
square
#B4B671 #71B695 #7371B6 #B67191
split-complementary
#B4B671 #7191B6 #9571B6
monochromatic
#70723B #989A4F #B4B671 #C9CB99 #DFE0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B671#FFFFFF#000000##000000
##B4B6711.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)
#C0B06C
Deuteranopia (green-blind)
#C1B374
Tritanopia (blue-blind)
#BDAEA5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b671;
/* rgb */ color: rgb(180, 182, 113);
/* oklch */ color: oklch(75.9% 0.091 109.8);
Tailwind
colors: {
  custom: {
    50: '#cbcb9b',
    500: '#b4b671',
    950: '#000000',
  },
}
SCSS
$custom: #b4b671;
$custom-light: #cbcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b671",
  "rgb": {
    "r": 180,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 61.739,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.75867,
    "c": 0.09073,
    "h": 109.8
  },
  "luminance": 0.44351
}

Semantic roles & 50–950 ramp

primary
#B4B671
secondary
#B4B4CF
accent
#60C863
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B4B671

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

Preview Lab → · Contrast checker → · Palette generator →

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