#B2A87F#B2A87F

#B2A87F is a light, muted yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.057 H 96.0°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B2A87F
RGBrgb(178, 168, 127)
HSLhsl(48, 25%, 60%)
HSVhsv(48, 29%, 70%)
CMYKcmyk(0%, 5.6%, 28.7%, 30.2%)
CIE-LABlab(68.75, -2.91, 22.53)
CIE-LCHlch(68.75, 22.72, 97.35°)
OKLaboklab(72.96% -0.006 0.0568)
OKLCHoklch(72.96% 0.057 96)
XYZxyz(36.1937, 39.0034, 25.6964)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A87F #7F89B2
analogous
#B28E7F #B2A87F #A3B27F
triadic
#B2A87F #7FB2A8 #A87FB2
tetradic
#B2A87F #7FB28E #7F89B2 #B27FA3
square
#B2A87F #7FB28E #7F89B2 #B27FA3
split-complementary
#B2A87F #7FA3B2 #8E7FB2
monochromatic
#726945 #988C5C #B2A87F #C9C2A5 #E0DCCB

Accessibility & contrast

On white

2.39
#B2A87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B2A87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A87F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A87F#FFFFFF#000000##000000
##B2A87F1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A67C
Deuteranopia (green-blind)
#B3A980
Tritanopia (blue-blind)
#BAA29D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2a87f;
/* rgb */ color: rgb(178, 168, 127);
/* oklch */ color: oklch(73.0% 0.057 96.0);
Tailwind
colors: {
  custom: {
    50: '#c9c1a4',
    500: '#b2a87f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a87f;
$custom-light: #c9c1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a87f",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 127
  },
  "hsl": {
    "h": 48.235,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72964,
    "c": 0.05713,
    "h": 96
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#B2A87F
secondary
#BDC0D0
accent
#78C167
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #B2A87F

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

Preview Lab → · Contrast checker → · Palette generator →

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