#B7AA32#B7AA32

#B7AA32 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.8% C 0.136 H 103.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B7AA32
RGBrgb(183, 170, 50)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 72%)
CMYKcmyk(0%, 7.1%, 72.7%, 28.2%)
CIE-LABlab(68.79, -8.86, 59.92)
CIE-LCHlch(68.79, 60.57, 98.41°)
OKLaboklab(72.79% -0.0306 0.1325)
OKLCHoklch(72.79% 0.136 103)
XYZxyz(34.4804, 39.0485, 8.7379)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA32 #323FB7
analogous
#B76732 #B7AA32 #82B732
triadic
#B7AA32 #32B7AA #AA32B7
tetradic
#B7AA32 #32B767 #323FB7 #B73282
square
#B7AA32 #32B767 #323FB7 #B73282
split-complementary
#B7AA32 #3282B7 #6732B7
monochromatic
#575118 #877D25 #B7AA32 #D1C556 #DED586

Accessibility & contrast

On white

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

On black

8.81
#B7AA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA32
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA32#FFFFFF#000000##000000
##B7AA321.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA41D
Deuteranopia (green-blind)
#BEAA3A
Tritanopia (blue-blind)
#C59E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa32;
/* rgb */ color: rgb(183, 170, 50);
/* oklch */ color: oklch(72.8% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c272',
    500: '#b7aa32',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa32;
$custom-light: #d0c272;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa32",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 54.135,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.13598,
    "h": 103
  },
  "luminance": 0.39047
}

Semantic roles & 50–950 ramp

primary
#B7AA32
secondary
#7D85C7
accent
#56E047
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7AA32

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

Preview Lab → · Contrast checker → · Palette generator →

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