#B7A73E#B7A73E

#B7A73E is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.125 H 100.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B7A73E
RGBrgb(183, 167, 62)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 8.7%, 66.1%, 28.2%)
CIE-LABlab(68.06, -6.64, 54.40)
CIE-LCHlch(68.06, 54.80, 96.95°)
OKLaboklab(72.24% -0.023 0.1229)
OKLCHoklch(72.24% 0.125 100.6)
XYZxyz(34.2181, 38.0540, 10.0992)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A73E #3E4EB7
analogous
#B76A3E #B7A73E #8AB73E
triadic
#B7A73E #3EB7A7 #A73EB7
tetradic
#B7A73E #3EB76A #3E4EB7 #B73E8A
square
#B7A73E #3EB76A #3E4EB7 #B73E8A
split-complementary
#B7A73E #3E8AB7 #6A3EB7
monochromatic
#5C541F #897D2F #B7A73E #CBBE67 #DBD294

Accessibility & contrast

On white

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

On black

8.61
#B7A73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A73E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A73E#FFFFFF#000000##000000
##B7A73E1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7a73e;
/* rgb */ color: rgb(183, 167, 62);
/* oklch */ color: oklch(72.2% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b7a73e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a73e;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a73e",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 52.066,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7224,
    "c": 0.12506,
    "h": 100.6
  },
  "luminance": 0.38053
}

Semantic roles & 50–950 ramp

primary
#B7A73E
secondary
#8A92C6
accent
#61D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A73E

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

Preview Lab → · Contrast checker → · Palette generator →

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