#B7A032#B7A032

#B7A032 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.128 H 97.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B7A032
RGBrgb(183, 160, 50)
HSLhsl(50, 57%, 46%)
HSVhsv(50, 73%, 72%)
CMYKcmyk(0%, 12.6%, 72.7%, 28.2%)
CIE-LABlab(66.09, -3.57, 57.29)
CIE-LCHlch(66.09, 57.41, 93.56°)
OKLaboklab(70.65% -0.0156 0.127)
OKLCHoklch(70.65% 0.128 97)
XYZxyz(32.6766, 35.4409, 8.1366)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A032 #3249B7
analogous
#B75D32 #B7A032 #8BB732
triadic
#B7A032 #32B7A0 #A032B7
tetradic
#B7A032 #32B75D #3249B7 #B7328B
square
#B7A032 #32B75D #3249B7 #B7328B
split-complementary
#B7A032 #328BB7 #5D32B7
monochromatic
#574C18 #877625 #B7A032 #D1BB56 #DECF86

Accessibility & contrast

On white

2.60
#B7A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B7A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A032
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A032#FFFFFF#000000##000000
##B7A0321.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C20
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#C6948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a032;
/* rgb */ color: rgb(183, 160, 50);
/* oklch */ color: oklch(70.7% 0.128 97.0);
Tailwind
colors: {
  custom: {
    50: '#d0bb71',
    500: '#b7a032',
    950: '#000000',
  },
}
SCSS
$custom: #b7a032;
$custom-light: #d0bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a032",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 49.624,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7065,
    "c": 0.1279,
    "h": 97
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

primary
#B7A032
secondary
#7D8AC7
accent
#62E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B7A032

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

Preview Lab → · Contrast checker → · Palette generator →

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