#B7A532#B7A532

#B7A532 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.132 H 100.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B7A532
RGBrgb(183, 165, 50)
HSLhsl(52, 57%, 46%)
HSVhsv(52, 73%, 72%)
CMYKcmyk(0%, 9.8%, 72.7%, 28.2%)
CIE-LABlab(67.43, -6.23, 58.60)
CIE-LCHlch(67.43, 58.93, 96.07°)
OKLaboklab(71.71% -0.0231 0.1297)
OKLCHoklch(71.71% 0.132 100.1)
XYZxyz(33.5609, 37.2094, 8.4314)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A532 #3244B7
analogous
#B76232 #B7A532 #86B732
triadic
#B7A532 #32B7A5 #A532B7
tetradic
#B7A532 #32B762 #3244B7 #B73286
square
#B7A532 #32B762 #3244B7 #B73286
split-complementary
#B7A532 #3286B7 #6232B7
monochromatic
#574E18 #877A25 #B7A532 #D1C056 #DED286

Accessibility & contrast

On white

2.49
#B7A532 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B7A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A532
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A532#FFFFFF#000000##000000
##B7A5321.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#C5998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a532;
/* rgb */ color: rgb(183, 165, 50);
/* oklch */ color: oklch(71.7% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#d0bf72',
    500: '#b7a532',
    950: '#000000',
  },
}
SCSS
$custom: #b7a532;
$custom-light: #d0bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a532",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 51.88,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71715,
    "c": 0.13177,
    "h": 100.1
  },
  "luminance": 0.37208
}

Semantic roles & 50–950 ramp

primary
#B7A532
secondary
#7D87C7
accent
#5CE047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A532

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

Preview Lab → · Contrast checker → · Palette generator →

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