#B8A539#B8A539

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

Color values

HEX#B8A539
RGBrgb(184, 165, 57)
HSLhsl(51, 53%, 47%)
HSVhsv(51, 69%, 72%)
CMYKcmyk(0%, 10.3%, 69%, 27.8%)
CIE-LABlab(67.57, -5.43, 56.02)
CIE-LCHlch(67.57, 56.28, 95.54°)
OKLaboklab(71.86% -0.0202 0.1255)
OKLCHoklch(71.86% 0.127 99.1)
XYZxyz(33.9624, 37.3976, 9.2996)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A539 #394CB8
analogous
#B86639 #B8A539 #8BB839
triadic
#B8A539 #39B8A5 #A539B8
tetradic
#B8A539 #39B866 #394CB8 #B8398B
square
#B8A539 #39B866 #394CB8 #B8398B
split-complementary
#B8A539 #398BB8 #6639B8
monochromatic
#5B511C #897B2B #B8A539 #CEBD60 #DCD18F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A539#FFFFFF#000000##000000
##B8A5391.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)
#B5A12A
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#C6998F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a539;
/* rgb */ color: rgb(184, 165, 57);
/* oklch */ color: oklch(71.9% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#d1bf76',
    500: '#b8a539',
    950: '#000000',
  },
}
SCSS
$custom: #b8a539;
$custom-light: #d1bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a539",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 51.024,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.12709,
    "h": 99.1
  },
  "luminance": 0.37396
}

Semantic roles & 50–950 ramp

primary
#B8A539
secondary
#868FC7
accent
#61DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A539

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

Preview Lab → · Contrast checker → · Palette generator →

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