#B2A577#B2A577

#B2A577 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.2% C 0.064 H 94.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B2A577
RGBrgb(178, 165, 119)
HSLhsl(47, 28%, 58%)
HSVhsv(47, 33%, 70%)
CMYKcmyk(0%, 7.3%, 33.1%, 30.2%)
CIE-LABlab(67.80, -2.35, 25.59)
CIE-LCHlch(67.80, 25.70, 95.25°)
OKLaboklab(72.17% -0.0047 0.064)
OKLCHoklch(72.17% 0.064 94.2)
XYZxyz(35.1455, 37.7081, 22.8762)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A577 #7784B2
analogous
#B28777 #B2A577 #A1B277
triadic
#B2A577 #77B2A5 #A577B2
tetradic
#B2A577 #77B287 #7784B2 #B277A1
square
#B2A577 #77B287 #7784B2 #B277A1
split-complementary
#B2A577 #77A1B2 #8777B2
monochromatic
#6F653F #978855 #B2A577 #C8BF9E #DED9C5

Accessibility & contrast

On white

2.46
#B2A577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B2A577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A577
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A577#FFFFFF#000000##000000
##B2A5771.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA374
Deuteranopia (green-blind)
#B2A779
Tritanopia (blue-blind)
#BB9E99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a577;
/* rgb */ color: rgb(178, 165, 119);
/* oklch */ color: oklch(72.2% 0.064 94.2);
Tailwind
colors: {
  custom: {
    50: '#cabf9e',
    500: '#b2a577',
    950: '#000000',
  },
}
SCSS
$custom: #b2a577;
$custom-light: #cabf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a577",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 119
  },
  "hsl": {
    "h": 46.78,
    "s": 27.7,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.06412,
    "h": 94.2
  },
  "luminance": 0.37707
}

Semantic roles & 50–950 ramp

primary
#B2A577
secondary
#B7BCCE
accent
#79C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #B2A577

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

Preview Lab → · Contrast checker → · Palette generator →

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