#B7A552#B7A552

#B7A552 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.106 H 97.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B7A552
RGBrgb(183, 165, 82)
HSLhsl(49, 41%, 52%)
HSVhsv(49, 55%, 72%)
CMYKcmyk(0%, 9.8%, 55.2%, 28.2%)
CIE-LABlab(67.72, -4.15, 44.81)
CIE-LCHlch(67.72, 45.00, 95.29°)
OKLaboklab(72.03% -0.0135 0.1051)
OKLCHoklch(72.03% 0.106 97.3)
XYZxyz(34.5078, 37.5882, 13.4186)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A552 #5264B7
analogous
#B77352 #B7A552 #97B752
triadic
#B7A552 #52B7A5 #A552B7
tetradic
#B7A552 #52B773 #5264B7 #B75297
square
#B7A552 #52B773 #5264B7 #B75297
split-complementary
#B7A552 #5297B7 #7352B7
monochromatic
#655A2A #90813C #B7A552 #C9BB7D #DBD2A8

Accessibility & contrast

On white

2.47
#B7A552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B7A552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A552
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A552#FFFFFF#000000##000000
##B7A5521.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14A
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#C49B92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a552;
/* rgb */ color: rgb(183, 165, 82);
/* oklch */ color: oklch(72.0% 0.106 97.3);
Tailwind
colors: {
  custom: {
    50: '#cfbf85',
    500: '#b7a552',
    950: '#000000',
  },
}
SCSS
$custom: #b7a552;
$custom-light: #cfbf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a552",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 49.307,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.10597,
    "h": 97.3
  },
  "luminance": 0.37587
}

Semantic roles & 50–950 ramp

primary
#B7A552
secondary
#9CA4C9
accent
#6DD157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B7A552

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

Preview Lab → · Contrast checker → · Palette generator →

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