#B2A876#B2A876

#B2A876 is a light, moderate yellow. Relative luminance 0.388; OKLCH L 72.8% C 0.068 H 98.2°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B2A876
RGBrgb(178, 168, 118)
HSLhsl(50, 28%, 58%)
HSVhsv(50, 34%, 70%)
CMYKcmyk(0%, 5.6%, 33.7%, 30.2%)
CIE-LABlab(68.59, -4.09, 27.18)
CIE-LCHlch(68.59, 27.48, 98.55°)
OKLaboklab(72.78% -0.0098 0.0677)
OKLCHoklch(72.78% 0.068 98.2)
XYZxyz(35.6332, 38.7792, 22.7441)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A876 #7680B2
analogous
#B28A76 #B2A876 #9EB276
triadic
#B2A876 #76B2A8 #A876B2
tetradic
#B2A876 #76B28A #7680B2 #B2769E
square
#B2A876 #76B28A #7680B2 #B2769E
split-complementary
#B2A876 #769EB2 #8A76B2
monochromatic
#6F673E #968B54 #B2A876 #C8C19D #DEDAC4

Accessibility & contrast

On white

2.40
#B2A876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B2A876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A876
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A876#FFFFFF#000000##000000
##B2A8761.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A573
Deuteranopia (green-blind)
#B4A978
Tritanopia (blue-blind)
#BBA19B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a876;
/* rgb */ color: rgb(178, 168, 118);
/* oklch */ color: oklch(72.8% 0.068 98.2);
Tailwind
colors: {
  custom: {
    50: '#cac19e',
    500: '#b2a876',
    950: '#000000',
  },
}
SCSS
$custom: #b2a876;
$custom-light: #cac19e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a876",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 118
  },
  "hsl": {
    "h": 50,
    "s": 28.037,
    "l": 58.039
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.06836,
    "h": 98.2
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#B2A876
secondary
#B6BACE
accent
#74C463
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A876

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

Preview Lab → · Contrast checker → · Palette generator →

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