#B7A32D#B7A32D

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

Color values

HEX#B7A32D
RGBrgb(183, 163, 45)
HSLhsl(51, 61%, 45%)
HSVhsv(51, 75%, 72%)
CMYKcmyk(0%, 10.9%, 75.4%, 28.2%)
CIE-LABlab(66.86, -5.39, 59.90)
CIE-LCHlch(66.86, 60.14, 95.15°)
OKLaboklab(71.25% -0.0213 0.1315)
OKLCHoklch(71.25% 0.133 99.2)
XYZxyz(33.1009, 36.4528, 7.7747)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A32D #2D41B7
analogous
#B75E2D #B7A32D #86B72D
triadic
#B7A32D #2DB7A3 #A32DB7
tetradic
#B7A32D #2DB75E #2D41B7 #B72D86
square
#B7A32D #2DB75E #2D41B7 #B72D86
split-complementary
#B7A32D #2D86B7 #5E2DB7
monochromatic
#554B15 #867721 #B7A32D #D3C04E #DFD17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A32D#FFFFFF#000000##000000
##B7A32D1.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)
#B39F16
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#C6978C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a32d;
/* rgb */ color: rgb(183, 163, 45);
/* oklch */ color: oklch(71.3% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd6f',
    500: '#b7a32d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a32d;
$custom-light: #d0bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a32d",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 51.304,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.13321,
    "h": 99.2
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#B7A32D
secondary
#7883C8
accent
#5BE444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7A32D

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

Preview Lab → · Contrast checker → · Palette generator →

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