#B7A432#B7A432

#B7A432 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.131 H 99.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B7A432
RGBrgb(183, 164, 50)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 73%, 72%)
CMYKcmyk(0%, 10.4%, 72.7%, 28.2%)
CIE-LABlab(67.16, -5.70, 58.34)
CIE-LCHlch(67.16, 58.62, 95.58°)
OKLaboklab(71.5% -0.0216 0.1292)
OKLCHoklch(71.5% 0.131 99.5)
XYZxyz(33.3812, 36.8501, 8.3715)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A432 #3245B7
analogous
#B76232 #B7A432 #87B732
triadic
#B7A432 #32B7A4 #A432B7
tetradic
#B7A432 #32B762 #3245B7 #B73287
square
#B7A432 #32B762 #3245B7 #B73287
split-complementary
#B7A432 #3287B7 #6232B7
monochromatic
#574E18 #877925 #B7A432 #D1BF56 #DED186

Accessibility & contrast

On white

2.51
#B7A432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B7A432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A432
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A432#FFFFFF#000000##000000
##B7A4321.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01F
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#C5988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a432;
/* rgb */ color: rgb(183, 164, 50);
/* oklch */ color: oklch(71.5% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#d0be72',
    500: '#b7a432',
    950: '#000000',
  },
}
SCSS
$custom: #b7a432;
$custom-light: #d0be72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a432",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 50
  },
  "hsl": {
    "h": 51.429,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71501,
    "c": 0.13097,
    "h": 99.5
  },
  "luminance": 0.36848
}

Semantic roles & 50–950 ramp

primary
#B7A432
secondary
#7D88C7
accent
#5DE047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A432

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

Preview Lab → · Contrast checker → · Palette generator →

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