#B7A232#B7A232

#B7A232 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.129 H 98.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B7A232
RGBrgb(183, 162, 50)
HSLhsl(51, 57%, 46%)
HSVhsv(51, 73%, 72%)
CMYKcmyk(0%, 11.5%, 72.7%, 28.2%)
CIE-LABlab(66.63, -4.64, 57.82)
CIE-LCHlch(66.63, 58.00, 94.58°)
OKLaboklab(71.08% -0.0186 0.1281)
OKLCHoklch(71.08% 0.129 98.3)
XYZxyz(33.0261, 36.1399, 8.2531)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A232 #3247B7
analogous
#B75F32 #B7A232 #8AB732
triadic
#B7A232 #32B7A2 #A232B7
tetradic
#B7A232 #32B75F #3247B7 #B7328A
square
#B7A232 #32B75F #3247B7 #B7328A
split-complementary
#B7A232 #328AB7 #5F32B7
monochromatic
#574D18 #877725 #B7A232 #D1BD56 #DED086

Accessibility & contrast

On white

2.55
#B7A232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B7A232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A232
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A232#FFFFFF#000000##000000
##B7A2321.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E20
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#C5968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a232;
/* rgb */ color: rgb(183, 162, 50);
/* oklch */ color: oklch(71.1% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd71',
    500: '#b7a232',
    950: '#000000',
  },
}
SCSS
$custom: #b7a232;
$custom-light: #d0bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a232",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 50.526,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.12941,
    "h": 98.3
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

primary
#B7A232
secondary
#7D89C7
accent
#60E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A232

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

Preview Lab → · Contrast checker → · Palette generator →

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