#B8A939#B8A939

#B8A939 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.130 H 101.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B8A939
RGBrgb(184, 169, 57)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 72%)
CMYKcmyk(0%, 8.2%, 69%, 27.8%)
CIE-LABlab(68.65, -7.54, 57.11)
CIE-LCHlch(68.65, 57.61, 97.52°)
OKLaboklab(72.72% -0.0262 0.1278)
OKLCHoklch(72.72% 0.13 101.6)
XYZxyz(34.6952, 38.8632, 9.5439)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A939 #3948B8
analogous
#B86939 #B8A939 #88B839
triadic
#B8A939 #39B8A9 #A939B8
tetradic
#B8A939 #39B869 #3948B8 #B83988
square
#B8A939 #39B869 #3948B8 #B83988
split-complementary
#B8A939 #3988B8 #6939B8
monochromatic
#5B531C #897E2B #B8A939 #CEC160 #DCD38F

Accessibility & contrast

On white

2.39
#B8A939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B8A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A939
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A939#FFFFFF#000000##000000
##B8A9391.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A429
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a939;
/* rgb */ color: rgb(184, 169, 57);
/* oklch */ color: oklch(72.7% 0.130 101.6);
Tailwind
colors: {
  custom: {
    50: '#d1c276',
    500: '#b8a939',
    950: '#000000',
  },
}
SCSS
$custom: #b8a939;
$custom-light: #d1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a939",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 52.913,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72719,
    "c": 0.13044,
    "h": 101.6
  },
  "luminance": 0.38862
}

Semantic roles & 50–950 ramp

primary
#B8A939
secondary
#868DC7
accent
#5DDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A939

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

Preview Lab → · Contrast checker → · Palette generator →

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