#B2A87D#B2A87D

#B2A87D is a light, muted yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.060 H 96.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B2A87D
RGBrgb(178, 168, 125)
HSLhsl(49, 26%, 59%)
HSVhsv(49, 30%, 70%)
CMYKcmyk(0%, 5.6%, 29.8%, 30.2%)
CIE-LABlab(68.72, -3.18, 23.57)
CIE-LCHlch(68.72, 23.78, 97.68°)
OKLaboklab(72.92% -0.0068 0.0593)
OKLCHoklch(72.92% 0.06 96.6)
XYZxyz(36.0647, 38.9518, 25.0167)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A87D #7D87B2
analogous
#B28E7D #B2A87D #A2B27D
triadic
#B2A87D #7DB2A8 #A87DB2
tetradic
#B2A87D #7DB28E #7D87B2 #B27DA2
square
#B2A87D #7DB28E #7D87B2 #B27DA2
split-complementary
#B2A87D #7DA2B2 #8E7DB2
monochromatic
#716943 #988C5A #B2A87D #C9C2A3 #E0DBCA

Accessibility & contrast

On white

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

On black

8.79
#B2A87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A87D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A87D#FFFFFF#000000##000000
##B2A87D1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2a87d;
/* rgb */ color: rgb(178, 168, 125);
/* oklch */ color: oklch(72.9% 0.060 96.6);
Tailwind
colors: {
  custom: {
    50: '#c9c1a3',
    500: '#b2a87d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a87d;
$custom-light: #c9c1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a87d",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 125
  },
  "hsl": {
    "h": 48.679,
    "s": 25.604,
    "l": 59.412
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.05965,
    "h": 96.6
  },
  "luminance": 0.38951
}

Semantic roles & 50–950 ramp

primary
#B2A87D
secondary
#BBBFD0
accent
#77C266
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#13120F
muted
#82817F

Preview Lab

Preview with #B2A87D

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

Preview Lab → · Contrast checker → · Palette generator →

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