#B8AA34#B8AA34

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

Color values

HEX#B8AA34
RGBrgb(184, 170, 52)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 72%, 72%)
CMYKcmyk(0%, 7.6%, 71.7%, 27.8%)
CIE-LABlab(68.89, -8.32, 59.30)
CIE-LCHlch(68.89, 59.88, 97.99°)
OKLaboklab(72.9% -0.0289 0.1315)
OKLCHoklch(72.9% 0.135 102.4)
XYZxyz(34.7633, 39.1892, 8.9813)
Luminance0.3919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA34 #3442B8
analogous
#B86834 #B8AA34 #84B834
triadic
#B8AA34 #34B8AA #AA34B8
tetradic
#B8AA34 #34B868 #3442B8 #B83484
square
#B8AA34 #34B868 #3442B8 #B83484
split-complementary
#B8AA34 #3484B8 #6834B8
monochromatic
#595219 #887E27 #B8AA34 #D0C359 #DED589

Accessibility & contrast

On white

2.38
#B8AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AA34#FFFFFF#000000##000000
##B8AA341.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8aa34;
/* rgb */ color: rgb(184, 170, 52);
/* oklch */ color: oklch(72.9% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d1c373',
    500: '#b8aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa34;
$custom-light: #d1c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa34",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 53.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.13466,
    "h": 102.4
  },
  "luminance": 0.39188
}

Semantic roles & 50–950 ramp

primary
#B8AA34
secondary
#8088C8
accent
#59DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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