#B8A53A#B8A53A

#B8A53A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.126 H 99.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B8A53A
RGBrgb(184, 165, 58)
HSLhsl(51, 52%, 47%)
HSVhsv(51, 68%, 72%)
CMYKcmyk(0%, 10.3%, 68.5%, 27.8%)
CIE-LABlab(67.58, -5.37, 55.61)
CIE-LCHlch(67.58, 55.87, 95.52°)
OKLaboklab(71.87% -0.0199 0.1248)
OKLCHoklch(71.87% 0.126 99.1)
XYZxyz(33.9876, 37.4077, 9.4323)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A53A #3A4DB8
analogous
#B8663A #B8A53A #8CB83A
triadic
#B8A53A #3AB8A5 #A53AB8
tetradic
#B8A53A #3AB866 #3A4DB8 #B83A8C
square
#B8A53A #3AB866 #3A4DB8 #B83A8C
split-complementary
#B8A53A #3A8CB8 #663AB8
monochromatic
#5B521D #897B2B #B8A53A #CDBD62 #DCD190

Accessibility & contrast

On white

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

On black

8.48
#B8A53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A53A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A53A#FFFFFF#000000##000000
##B8A53A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#BAA840
Tritanopia (blue-blind)
#C6998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a53a;
/* rgb */ color: rgb(184, 165, 58);
/* oklch */ color: oklch(71.9% 0.126 99.1);
Tailwind
colors: {
  custom: {
    50: '#d1bf76',
    500: '#b8a53a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a53a;
$custom-light: #d1bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a53a",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 58
  },
  "hsl": {
    "h": 50.952,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71872,
    "c": 0.12638,
    "h": 99.1
  },
  "luminance": 0.37406
}

Semantic roles & 50–950 ramp

primary
#B8A53A
secondary
#8790C7
accent
#62DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A53A

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

Preview Lab → · Contrast checker → · Palette generator →

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