#B8A052#B8A052

#B8A052 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.102 H 92.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B8A052
RGBrgb(184, 160, 82)
HSLhsl(46, 42%, 52%)
HSVhsv(46, 55%, 72%)
CMYKcmyk(0%, 13%, 55.4%, 27.8%)
CIE-LABlab(66.48, -1.04, 43.38)
CIE-LCHlch(66.48, 43.39, 91.38°)
OKLaboklab(71.07% -0.0046 0.102)
OKLCHoklch(71.07% 0.102 92.6)
XYZxyz(33.8623, 35.9428, 13.1350)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A052 #526AB8
analogous
#B86D52 #B8A052 #9DB852
triadic
#B8A052 #52B8A0 #A052B8
tetradic
#B8A052 #52B86D #526AB8 #B8529D
square
#B8A052 #52B86D #526AB8 #B8529D
split-complementary
#B8A052 #529DB8 #6D52B8
monochromatic
#66582A #917D3C #B8A052 #CAB87D #DCD0A9

Accessibility & contrast

On white

2.56
#B8A052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B8A052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A052
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A052#FFFFFF#000000##000000
##B8A0521.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4B
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#C5958E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a052;
/* rgb */ color: rgb(184, 160, 82);
/* oklch */ color: oklch(71.1% 0.102 92.6);
Tailwind
colors: {
  custom: {
    50: '#d0bb85',
    500: '#b8a052',
    950: '#000000',
  },
}
SCSS
$custom: #b8a052;
$custom-light: #d0bb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a052",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 45.882,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.10208,
    "h": 92.6
  },
  "luminance": 0.35941
}

Semantic roles & 50–950 ramp

primary
#B8A052
secondary
#9DA7C9
accent
#73D256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110B
muted
#83807C

Preview Lab

Preview with #B8A052

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

Preview Lab → · Contrast checker → · Palette generator →

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