#B8AA33#B8AA33

#B8AA33 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#B8AA33
RGBrgb(184, 170, 51)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 72%, 72%)
CMYKcmyk(0%, 7.6%, 72.3%, 27.8%)
CIE-LABlab(68.88, -8.37, 59.67)
CIE-LCHlch(68.88, 60.25, 97.99°)
OKLaboklab(72.89% -0.0292 0.1321)
OKLCHoklch(72.89% 0.135 102.4)
XYZxyz(34.7410, 39.1803, 8.8639)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA33 #3341B8
analogous
#B86733 #B8AA33 #83B833
triadic
#B8AA33 #33B8AA #AA33B8
tetradic
#B8AA33 #33B867 #3341B8 #B83383
square
#B8AA33 #33B867 #3341B8 #B83383
split-complementary
#B8AA33 #3383B8 #6733B8
monochromatic
#585118 #887E26 #B8AA33 #D1C458 #DED588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AA33#FFFFFF#000000##000000
##B8AA331.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)
#BAA51F
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C69E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa33;
/* rgb */ color: rgb(184, 170, 51);
/* oklch */ color: oklch(72.9% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d1c273',
    500: '#b8aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa33;
$custom-light: #d1c273;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa33",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 53.684,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.1353,
    "h": 102.4
  },
  "luminance": 0.39179
}

Semantic roles & 50–950 ramp

primary
#B8AA33
secondary
#7F87C8
accent
#58E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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