#B7A832#B7A832

#B7A832 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.134 H 101.9°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B7A832
RGBrgb(183, 168, 50)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 73%, 72%)
CMYKcmyk(0%, 8.2%, 72.7%, 28.2%)
CIE-LABlab(68.24, -7.81, 59.39)
CIE-LCHlch(68.24, 59.90, 97.49°)
OKLaboklab(72.36% -0.0276 0.1314)
OKLCHoklch(72.36% 0.134 101.9)
XYZxyz(34.1083, 38.3043, 8.6138)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A832 #3241B7
analogous
#B76532 #B7A832 #83B732
triadic
#B7A832 #32B7A8 #A832B7
tetradic
#B7A832 #32B765 #3241B7 #B73283
square
#B7A832 #32B765 #3241B7 #B73283
split-complementary
#B7A832 #3283B7 #6532B7
monochromatic
#575018 #877C25 #B7A832 #D1C356 #DED486

Accessibility & contrast

On white

2.42
#B7A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B7A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A832
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A832#FFFFFF#000000##000000
##B7A8321.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31E
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a832;
/* rgb */ color: rgb(183, 168, 50);
/* oklch */ color: oklch(72.4% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#d0c172',
    500: '#b7a832',
    950: '#000000',
  },
}
SCSS
$custom: #b7a832;
$custom-light: #d0c172;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a832",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 53.233,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72358,
    "c": 0.13426,
    "h": 101.9
  },
  "luminance": 0.38303
}

Semantic roles & 50–950 ramp

primary
#B7A832
secondary
#7D86C7
accent
#59E047
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A832

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

Preview Lab → · Contrast checker → · Palette generator →

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