#B7A32F#B7A32F

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

Color values

HEX#B7A32F
RGBrgb(183, 163, 47)
HSLhsl(51, 59%, 45%)
HSVhsv(51, 74%, 72%)
CMYKcmyk(0%, 10.9%, 74.3%, 28.2%)
CIE-LABlab(66.88, -5.31, 59.19)
CIE-LCHlch(66.88, 59.42, 95.12°)
OKLaboklab(71.27% -0.0208 0.1304)
OKLCHoklch(71.27% 0.132 99.1)
XYZxyz(33.1403, 36.4685, 7.9823)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A32F #2F43B7
analogous
#B75F2F #B7A32F #87B72F
triadic
#B7A32F #2FB7A3 #A32FB7
tetradic
#B7A32F #2FB75F #2F43B7 #B72F87
square
#B7A32F #2FB75F #2F43B7 #B72F87
split-complementary
#B7A32F #2F87B7 #5F2FB7
monochromatic
#564C16 #867822 #B7A32F #D2BF51 #DFD182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A32F#FFFFFF#000000##000000
##B7A32F1.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)
#B39F1A
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#C5978C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a32f;
/* rgb */ color: rgb(183, 163, 47);
/* oklch */ color: oklch(71.3% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd70',
    500: '#b7a32f',
    950: '#000000',
  },
}
SCSS
$custom: #b7a32f;
$custom-light: #d0bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a32f",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 51.176,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71267,
    "c": 0.13204,
    "h": 99.1
  },
  "luminance": 0.36467
}

Semantic roles & 50–950 ramp

primary
#B7A32F
secondary
#7A85C8
accent
#5DE245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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