#B8AA37#B8AA37

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

Color values

HEX#B8AA37
RGBrgb(184, 170, 55)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 7.6%, 70.1%, 27.8%)
CIE-LABlab(68.91, -8.17, 58.16)
CIE-LCHlch(68.91, 58.73, 98.00°)
OKLaboklab(72.92% -0.0282 0.1297)
OKLCHoklch(72.92% 0.133 102.3)
XYZxyz(34.8330, 39.2171, 9.3485)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA37 #3745B8
analogous
#B86937 #B8AA37 #86B837
triadic
#B8AA37 #37B8AA #AA37B8
tetradic
#B8AA37 #37B869 #3745B8 #B83786
square
#B8AA37 #37B869 #3745B8 #B83786
split-complementary
#B8AA37 #3786B8 #6937B8
monochromatic
#5A531B #897E29 #B8AA37 #CFC25D #DDD48D

Accessibility & contrast

On white

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

On black

8.84
#B8AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA37
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA37#FFFFFF#000000##000000
##B8AA371.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8aa37;
/* rgb */ color: rgb(184, 170, 55);
/* oklch */ color: oklch(72.9% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#d1c375',
    500: '#b8aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa37;
$custom-light: #d1c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa37",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 53.488,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.13268,
    "h": 102.3
  },
  "luminance": 0.39216
}

Semantic roles & 50–950 ramp

primary
#B8AA37
secondary
#848BC7
accent
#5ADD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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