#B7A53E#B7A53E

#B7A53E is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.123 H 99.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B7A53E
RGBrgb(183, 165, 62)
HSLhsl(51, 49%, 48%)
HSVhsv(51, 66%, 72%)
CMYKcmyk(0%, 9.8%, 66.1%, 28.2%)
CIE-LABlab(67.52, -5.58, 53.83)
CIE-LCHlch(67.52, 54.12, 95.92°)
OKLaboklab(71.81% -0.0199 0.1217)
OKLCHoklch(71.81% 0.123 99.3)
XYZxyz(33.8545, 37.3269, 9.9781)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A53E #3E50B7
analogous
#B7683E #B7A53E #8DB73E
triadic
#B7A53E #3EB7A5 #A53EB7
tetradic
#B7A53E #3EB768 #3E50B7 #B73E8D
square
#B7A53E #3EB768 #3E50B7 #B73E8D
split-complementary
#B7A53E #3E8DB7 #683EB7
monochromatic
#5C531F #897C2F #B7A53E #CBBC67 #DBD094

Accessibility & contrast

On white

2.48
#B7A53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B7A53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A53E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A53E#FFFFFF#000000##000000
##B7A53E1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A131
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#C59990
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a53e;
/* rgb */ color: rgb(183, 165, 62);
/* oklch */ color: oklch(71.8% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0bf78',
    500: '#b7a53e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a53e;
$custom-light: #d0bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a53e",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 51.074,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.12335,
    "h": 99.3
  },
  "luminance": 0.37325
}

Semantic roles & 50–950 ramp

primary
#B7A53E
secondary
#8A93C6
accent
#63D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A53E

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

Preview Lab → · Contrast checker → · Palette generator →

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