#B8A772#B8A772

#B8A772 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.073 H 92.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B8A772
RGBrgb(184, 167, 114)
HSLhsl(45, 33%, 58%)
HSVhsv(45, 38%, 72%)
CMYKcmyk(0%, 9.2%, 38%, 27.8%)
CIE-LABlab(68.78, -1.60, 29.67)
CIE-LCHlch(68.78, 29.72, 93.09°)
OKLaboklab(73.04% -0.003 0.0733)
OKLCHoklch(73.04% 0.073 92.4)
XYZxyz(36.6239, 39.0439, 21.5234)
Luminance0.3904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A772 #7283B8
analogous
#B88472 #B8A772 #A6B872
triadic
#B8A772 #72B8A7 #A772B8
tetradic
#B8A772 #72B884 #7283B8 #B872A6
square
#B8A772 #72B884 #7283B8 #B872A6
split-complementary
#B8A772 #72A6B8 #8472B8
monochromatic
#75673B #9D8B4F #B8A772 #CCC09B #E1DAC3

Accessibility & contrast

On white

2.38
#B8A772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B8A772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A772
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A772#FFFFFF#000000##000000
##B8A7721.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56E
Deuteranopia (green-blind)
#B6AA74
Tritanopia (blue-blind)
#C29F99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a772;
/* rgb */ color: rgb(184, 167, 114);
/* oklch */ color: oklch(73.0% 0.073 92.4);
Tailwind
colors: {
  custom: {
    50: '#cec19b',
    500: '#b8a772',
    950: '#000000',
  },
}
SCSS
$custom: #b8a772;
$custom-light: #cec19b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a772",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 114
  },
  "hsl": {
    "h": 45.429,
    "s": 33.019,
    "l": 58.431
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.07339,
    "h": 92.4
  },
  "luminance": 0.39043
}

Semantic roles & 50–950 ramp

primary
#B8A772
secondary
#B5BCD1
accent
#79C95F
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #B8A772

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

Preview Lab → · Contrast checker → · Palette generator →

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