#B7A32E#B7A32E

#B7A32E is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.133 H 99.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B7A32E
RGBrgb(183, 163, 46)
HSLhsl(51, 60%, 45%)
HSVhsv(51, 75%, 72%)
CMYKcmyk(0%, 10.9%, 74.9%, 28.2%)
CIE-LABlab(66.87, -5.35, 59.54)
CIE-LCHlch(66.87, 59.78, 95.14°)
OKLaboklab(71.26% -0.0211 0.131)
OKLCHoklch(71.26% 0.133 99.1)
XYZxyz(33.1204, 36.4606, 7.8773)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A32E #2E42B7
analogous
#B75F2E #B7A32E #86B72E
triadic
#B7A32E #2EB7A3 #A32EB7
tetradic
#B7A32E #2EB75F #2E42B7 #B72E86
square
#B7A32E #2EB75F #2E42B7 #B72E86
split-complementary
#B7A32E #2E86B7 #5F2EB7
monochromatic
#554C15 #867722 #B7A32E #D3C04F #DFD180

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A32E#FFFFFF#000000##000000
##B7A32E1.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)
#B39F18
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C6978C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a32e;
/* rgb */ color: rgb(183, 163, 46);
/* oklch */ color: oklch(71.3% 0.133 99.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd6f',
    500: '#b7a32e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a32e;
$custom-light: #d0bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a32e",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 51.241,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7126,
    "c": 0.13263,
    "h": 99.1
  },
  "luminance": 0.36459
}

Semantic roles & 50–950 ramp

primary
#B7A32E
secondary
#7984C8
accent
#5CE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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