#B8A452#B8A452

#B8A452 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.105 H 95.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B8A452
RGBrgb(184, 164, 82)
HSLhsl(48, 42%, 52%)
HSVhsv(48, 55%, 72%)
CMYKcmyk(0%, 10.9%, 55.4%, 27.8%)
CIE-LABlab(67.54, -3.19, 44.63)
CIE-LCHlch(67.54, 44.74, 94.09°)
OKLaboklab(71.91% -0.0108 0.1047)
OKLCHoklch(71.91% 0.105 95.9)
XYZxyz(34.5669, 37.3520, 13.3699)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A452 #5266B8
analogous
#B87152 #B8A452 #99B852
triadic
#B8A452 #52B8A4 #A452B8
tetradic
#B8A452 #52B871 #5266B8 #B85299
square
#B8A452 #52B871 #5266B8 #B85299
split-complementary
#B8A452 #5299B8 #7152B8
monochromatic
#665A2A #91803C #B8A452 #CABB7D #DCD2A9

Accessibility & contrast

On white

2.48
#B8A452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B8A452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A452
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A452#FFFFFF#000000##000000
##B8A4521.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A14A
Deuteranopia (green-blind)
#B7A756
Tritanopia (blue-blind)
#C59991
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a452;
/* rgb */ color: rgb(184, 164, 82);
/* oklch */ color: oklch(71.9% 0.105 95.9);
Tailwind
colors: {
  custom: {
    50: '#d0be85',
    500: '#b8a452',
    950: '#000000',
  },
}
SCSS
$custom: #b8a452;
$custom-light: #d0be85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a452",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 82
  },
  "hsl": {
    "h": 48.235,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.10525,
    "h": 95.9
  },
  "luminance": 0.3735
}

Semantic roles & 50–950 ramp

primary
#B8A452
secondary
#9DA5C9
accent
#6ED256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A452

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

Preview Lab → · Contrast checker → · Palette generator →

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