#B4A87F#B4A87F

#B4A87F is a light, muted yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.058 H 93.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B4A87F
RGBrgb(180, 168, 127)
HSLhsl(46, 26%, 60%)
HSVhsv(46, 29%, 71%)
CMYKcmyk(0%, 6.7%, 29.4%, 29.4%)
CIE-LABlab(68.93, -2.11, 22.79)
CIE-LCHlch(68.93, 22.89, 95.30°)
OKLaboklab(73.14% -0.0037 0.0575)
OKLCHoklch(73.14% 0.058 93.7)
XYZxyz(36.6561, 39.2418, 25.7180)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A87F #7F8BB4
analogous
#B48D7F #B4A87F #A5B47F
triadic
#B4A87F #7FB4A8 #A87FB4
tetradic
#B4A87F #7FB48D #7F8BB4 #B47FA5
square
#B4A87F #7FB48D #7F8BB4 #B47FA5
split-complementary
#B4A87F #7FA5B4 #8D7FB4
monochromatic
#746944 #9B8C5B #B4A87F #CBC2A6 #E1DCCC

Accessibility & contrast

On white

2.37
#B4A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B4A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A87F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A87F#FFFFFF#000000##000000
##B4A87F1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A67C
Deuteranopia (green-blind)
#B4AA80
Tritanopia (blue-blind)
#BCA29D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4a87f;
/* rgb */ color: rgb(180, 168, 127);
/* oklch */ color: oklch(73.1% 0.058 93.7);
Tailwind
colors: {
  custom: {
    50: '#cbc1a4',
    500: '#b4a87f',
    950: '#000000',
  },
}
SCSS
$custom: #b4a87f;
$custom-light: #cbc1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a87f",
  "rgb": {
    "r": 180,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 46.415,
    "s": 26.108,
    "l": 60.196
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.05757,
    "h": 93.7
  },
  "luminance": 0.39241
}

Semantic roles & 50–950 ramp

primary
#B4A87F
secondary
#BDC2D2
accent
#57A541
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #B4A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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