#B8A552#B8A552

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

Color values

HEX#B8A552
RGBrgb(184, 165, 82)
HSLhsl(49, 42%, 52%)
HSVhsv(49, 55%, 72%)
CMYKcmyk(0%, 10.3%, 55.4%, 27.8%)
CIE-LABlab(67.81, -3.72, 44.94)
CIE-LCHlch(67.81, 45.09, 94.74°)
OKLaboklab(72.12% -0.0123 0.1054)
OKLCHoklch(72.12% 0.106 96.7)
XYZxyz(34.7466, 37.7113, 13.4298)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A552 #5265B8
analogous
#B87252 #B8A552 #98B852
triadic
#B8A552 #52B8A5 #A552B8
tetradic
#B8A552 #52B872 #5265B8 #B85298
square
#B8A552 #52B872 #5265B8 #B85298
split-complementary
#B8A552 #5298B8 #7252B8
monochromatic
#665B2A #91813C #B8A552 #CABC7D #DCD2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A552#FFFFFF#000000##000000
##B8A5521.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)
#B3A24A
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a552;
/* rgb */ color: rgb(184, 165, 82);
/* oklch */ color: oklch(72.1% 0.106 96.7);
Tailwind
colors: {
  custom: {
    50: '#d0bf85',
    500: '#b8a552',
    950: '#000000',
  },
}
SCSS
$custom: #b8a552;
$custom-light: #d0bf85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a552",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 48.824,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72123,
    "c": 0.10609,
    "h": 96.7
  },
  "luminance": 0.3771
}

Semantic roles & 50–950 ramp

primary
#B8A552
secondary
#9DA5C9
accent
#6DD256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A552

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

Preview Lab → · Contrast checker → · Palette generator →

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