#B8AA39#B8AA39

#B8AA39 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.131 H 102.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B8AA39
RGBrgb(184, 170, 57)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 72%)
CMYKcmyk(0%, 7.6%, 69%, 27.8%)
CIE-LABlab(68.92, -8.07, 57.38)
CIE-LCHlch(68.92, 57.95, 98.00°)
OKLaboklab(72.93% -0.0276 0.1284)
OKLCHoklch(72.93% 0.131 102.2)
XYZxyz(34.8819, 39.2367, 9.6062)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA39 #3947B8
analogous
#B86B39 #B8AA39 #86B839
triadic
#B8AA39 #39B8AA #AA39B8
tetradic
#B8AA39 #39B86B #3947B8 #B83986
square
#B8AA39 #39B86B #3947B8 #B83986
split-complementary
#B8AA39 #3986B8 #6B39B8
monochromatic
#5B541C #897F2B #B8AA39 #CEC260 #DCD48F

Accessibility & contrast

On white

2.37
#B8AA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B8AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA39
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA39#FFFFFF#000000##000000
##B8AA391.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A529
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#C69E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa39;
/* rgb */ color: rgb(184, 170, 57);
/* oklch */ color: oklch(72.9% 0.131 102.2);
Tailwind
colors: {
  custom: {
    50: '#d1c376',
    500: '#b8aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa39;
$custom-light: #d1c376;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa39",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 53.386,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.13131,
    "h": 102.2
  },
  "luminance": 0.39235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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