#B7A732#B7A732

#B7A732 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.133 H 101.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B7A732
RGBrgb(183, 167, 50)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 73%, 72%)
CMYKcmyk(0%, 8.7%, 72.7%, 28.2%)
CIE-LABlab(67.97, -7.28, 59.13)
CIE-LCHlch(67.97, 59.58, 97.02°)
OKLaboklab(72.14% -0.0261 0.1308)
OKLCHoklch(72.14% 0.133 101.3)
XYZxyz(33.9244, 37.9365, 8.5525)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A732 #3242B7
analogous
#B76432 #B7A732 #84B732
triadic
#B7A732 #32B7A7 #A732B7
tetradic
#B7A732 #32B764 #3242B7 #B73284
square
#B7A732 #32B764 #3242B7 #B73284
split-complementary
#B7A732 #3284B7 #6432B7
monochromatic
#574F18 #877B25 #B7A732 #D1C256 #DED386

Accessibility & contrast

On white

2.45
#B7A732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B7A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A732
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A732#FFFFFF#000000##000000
##B7A7321.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21E
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C59B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a732;
/* rgb */ color: rgb(183, 167, 50);
/* oklch */ color: oklch(72.1% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#d0c072',
    500: '#b7a732',
    950: '#000000',
  },
}
SCSS
$custom: #b7a732;
$custom-light: #d0c072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a732",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 52.782,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72143,
    "c": 0.13341,
    "h": 101.3
  },
  "luminance": 0.37935
}

Semantic roles & 50–950 ramp

primary
#B7A732
secondary
#7D86C7
accent
#5AE047
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A732

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

Preview Lab → · Contrast checker → · Palette generator →

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