#B7A32C#B7A32C

#B7A32C is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.134 H 99.3°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B7A32C
RGBrgb(183, 163, 44)
HSLhsl(51, 61%, 45%)
HSVhsv(51, 76%, 72%)
CMYKcmyk(0%, 10.9%, 76%, 28.2%)
CIE-LABlab(66.86, -5.44, 60.24)
CIE-LCHlch(66.86, 60.49, 95.16°)
OKLaboklab(71.25% -0.0215 0.1321)
OKLCHoklch(71.25% 0.134 99.3)
XYZxyz(33.0819, 36.4452, 7.6745)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A32C #2C40B7
analogous
#B75E2C #B7A32C #86B72C
triadic
#B7A32C #2CB7A3 #A32CB7
tetradic
#B7A32C #2CB75E #2C40B7 #B72C86
square
#B7A32C #2CB75E #2C40B7 #B72C86
split-complementary
#B7A32C #2C86B7 #5E2CB7
monochromatic
#544B14 #867720 #B7A32C #D4C04C #E0D27E

Accessibility & contrast

On white

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

On black

8.29
#B7A32C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A32C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A32C#FFFFFF#000000##000000
##B7A32C1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F14
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#C6978C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a32c;
/* rgb */ color: rgb(183, 163, 44);
/* oklch */ color: oklch(71.2% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#d1bd6e',
    500: '#b7a32c',
    950: '#000000',
  },
}
SCSS
$custom: #b7a32c;
$custom-light: #d1bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a32c",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 44
  },
  "hsl": {
    "h": 51.367,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.13379,
    "h": 99.3
  },
  "luminance": 0.36444
}

Semantic roles & 50–950 ramp

primary
#B7A32C
secondary
#7682C8
accent
#5BE443
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B7A32C

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

Preview Lab → · Contrast checker → · Palette generator →

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