#B7A32A#B7A32A

#B7A32A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.135 H 99.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B7A32A
RGBrgb(183, 163, 42)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 72%)
CMYKcmyk(0%, 10.9%, 77%, 28.2%)
CIE-LABlab(66.85, -5.52, 60.92)
CIE-LCHlch(66.85, 61.17, 95.18°)
OKLaboklab(71.23% -0.0219 0.1331)
OKLCHoklch(71.23% 0.135 99.4)
XYZxyz(33.0452, 36.4305, 7.4812)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A32A #2A3EB7
analogous
#B75C2A #B7A32A #85B72A
triadic
#B7A32A #2AB7A3 #A32AB7
tetradic
#B7A32A #2AB75C #2A3EB7 #B72A85
square
#B7A32A #2AB75C #2A3EB7 #B72A85
split-complementary
#B7A32A #2A85B7 #5C2AB7
monochromatic
#534A13 #85771F #B7A32A #D5C149 #E1D27B

Accessibility & contrast

On white

2.53
#B7A32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B7A32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A32A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A32A#FFFFFF#000000##000000
##B7A32A1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F0F
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#C6968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a32a;
/* rgb */ color: rgb(183, 163, 42);
/* oklch */ color: oklch(71.2% 0.135 99.4);
Tailwind
colors: {
  custom: {
    50: '#d1bd6d',
    500: '#b7a32a',
    950: '#000000',
  },
}
SCSS
$custom: #b7a32a;
$custom-light: #d1bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a32a",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 51.489,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71234,
    "c": 0.1349,
    "h": 99.4
  },
  "luminance": 0.36429
}

Semantic roles & 50–950 ramp

primary
#B7A32A
secondary
#7480C9
accent
#59E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B7A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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