#B7A332#B7A332

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

Color values

HEX#B7A332
RGBrgb(183, 163, 50)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 73%, 72%)
CMYKcmyk(0%, 10.9%, 72.7%, 28.2%)
CIE-LABlab(66.90, -5.17, 58.08)
CIE-LCHlch(66.90, 58.31, 95.08°)
OKLaboklab(71.29% -0.0201 0.1286)
OKLCHoklch(71.29% 0.13 98.9)
XYZxyz(33.2030, 36.4936, 8.3121)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A332 #3246B7
analogous
#B76032 #B7A332 #89B732
triadic
#B7A332 #32B7A3 #A332B7
tetradic
#B7A332 #32B760 #3246B7 #B73289
square
#B7A332 #32B760 #3246B7 #B73289
split-complementary
#B7A332 #3289B7 #6032B7
monochromatic
#574D18 #877825 #B7A332 #D1BE56 #DED186

Accessibility & contrast

On white

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

On black

8.30
#B7A332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A332
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A332#FFFFFF#000000##000000
##B7A3321.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F20
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#C5978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a332;
/* rgb */ color: rgb(183, 163, 50);
/* oklch */ color: oklch(71.3% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#d0bd71',
    500: '#b7a332',
    950: '#000000',
  },
}
SCSS
$custom: #b7a332;
$custom-light: #d0bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a332",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 50.977,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71288,
    "c": 0.13018,
    "h": 98.9
  },
  "luminance": 0.36492
}

Semantic roles & 50–950 ramp

primary
#B7A332
secondary
#7D89C7
accent
#5EE047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A332

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

Preview Lab → · Contrast checker → · Palette generator →

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