#B7AA52#B7AA52

#B7AA52 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.111 H 101.0°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B7AA52
RGBrgb(183, 170, 82)
HSLhsl(52, 41%, 52%)
HSVhsv(52, 55%, 72%)
CMYKcmyk(0%, 7.1%, 55.2%, 28.2%)
CIE-LABlab(69.06, -6.80, 46.37)
CIE-LCHlch(69.06, 46.87, 98.34°)
OKLaboklab(73.09% -0.0211 0.1085)
OKLCHoklch(73.09% 0.111 101)
XYZxyz(35.4273, 39.4272, 13.7251)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA52 #525FB7
analogous
#B77852 #B7AA52 #92B752
triadic
#B7AA52 #52B7AA #AA52B7
tetradic
#B7AA52 #52B778 #525FB7 #B75292
square
#B7AA52 #52B778 #525FB7 #B75292
split-complementary
#B7AA52 #5292B7 #7852B7
monochromatic
#655D2A #90853C #B7AA52 #C9BF7D #DBD4A8

Accessibility & contrast

On white

2.36
#B7AA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B7AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA52
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA52#FFFFFF#000000##000000
##B7AA521.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A54A
Deuteranopia (green-blind)
#BCAB56
Tritanopia (blue-blind)
#C3A096
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b7aa52;
/* rgb */ color: rgb(183, 170, 82);
/* oklch */ color: oklch(73.1% 0.111 101.0);
Tailwind
colors: {
  custom: {
    50: '#cfc385',
    500: '#b7aa52',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa52;
$custom-light: #cfc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa52",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 52.277,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73094,
    "c": 0.11053,
    "h": 101
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

primary
#B7AA52
secondary
#9CA2C9
accent
#66D157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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