#B7A73B#B7A73B

#B7A73B is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.127 H 100.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B7A73B
RGBrgb(183, 167, 59)
HSLhsl(52, 51%, 47%)
HSVhsv(52, 68%, 72%)
CMYKcmyk(0%, 8.7%, 67.8%, 28.2%)
CIE-LABlab(68.04, -6.81, 55.64)
CIE-LCHlch(68.04, 56.05, 96.98°)
OKLaboklab(72.21% -0.0238 0.1251)
OKLCHoklch(72.21% 0.127 100.8)
XYZxyz(34.1380, 38.0220, 9.6776)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A73B #3B4BB7
analogous
#B7693B #B7A73B #89B73B
triadic
#B7A73B #3BB7A7 #A73BB7
tetradic
#B7A73B #3BB769 #3B4BB7 #B73B89
square
#B7A73B #3BB769 #3B4BB7 #B73B89
split-complementary
#B7A73B #3B89B7 #693BB7
monochromatic
#5A531D #897D2C #B7A73B #CDBF63 #DCD291

Accessibility & contrast

On white

2.44
#B7A73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B7A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A73B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A73B#FFFFFF#000000##000000
##B7A73B1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22C
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#C59B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a73b;
/* rgb */ color: rgb(183, 167, 59);
/* oklch */ color: oklch(72.2% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#d0c077',
    500: '#b7a73b',
    950: '#000000',
  },
}
SCSS
$custom: #b7a73b;
$custom-light: #d0c077;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a73b",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 52.258,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.1273,
    "h": 100.8
  },
  "luminance": 0.3802
}

Semantic roles & 50–950 ramp

primary
#B7A73B
secondary
#878FC6
accent
#5FDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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