#B8AA2A#B8AA2A

#B8AA2A is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.141 H 102.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B8AA2A
RGBrgb(184, 170, 42)
HSLhsl(54, 63%, 44%)
HSVhsv(54, 77%, 72%)
CMYKcmyk(0%, 7.6%, 77.2%, 27.8%)
CIE-LABlab(68.83, -8.77, 62.78)
CIE-LCHlch(68.83, 63.39, 97.95°)
OKLaboklab(72.83% -0.0311 0.137)
OKLCHoklch(72.83% 0.141 102.8)
XYZxyz(34.5614, 39.1085, 7.9182)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA2A #2A38B8
analogous
#B8632A #B8AA2A #7FB82A
triadic
#B8AA2A #2AB8AA #AA2AB8
tetradic
#B8AA2A #2AB863 #2A38B8 #B82A7F
square
#B8AA2A #2AB863 #2A38B8 #B82A7F
split-complementary
#B8AA2A #2A7FB8 #632AB8
monochromatic
#544E13 #867C1F #B8AA2A #D6C84A #E1D77B

Accessibility & contrast

On white

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

On black

8.82
#B8AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA2A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA2A#FFFFFF#000000##000000
##B8AA2A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40A
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa2a;
/* rgb */ color: rgb(184, 170, 42);
/* oklch */ color: oklch(72.8% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#d1c26e',
    500: '#b8aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa2a;
$custom-light: #d1c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa2a",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 54.085,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7283,
    "c": 0.14051,
    "h": 102.8
  },
  "luminance": 0.39107
}

Semantic roles & 50–950 ramp

primary
#B8AA2A
secondary
#757DC9
accent
#52E642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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