#B7A53D#B7A53D

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

Color values

HEX#B7A53D
RGBrgb(183, 165, 61)
HSLhsl(51, 50%, 48%)
HSVhsv(51, 67%, 72%)
CMYKcmyk(0%, 9.8%, 66.7%, 28.2%)
CIE-LABlab(67.51, -5.64, 54.25)
CIE-LCHlch(67.51, 54.54, 95.93°)
OKLaboklab(71.8% -0.0202 0.1225)
OKLCHoklch(71.8% 0.124 99.4)
XYZxyz(33.8274, 37.3160, 9.8349)
Luminance0.3731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A53D #3D4FB7
analogous
#B7683D #B7A53D #8CB73D
triadic
#B7A53D #3DB7A5 #A53DB7
tetradic
#B7A53D #3DB768 #3D4FB7 #B73D8C
square
#B7A53D #3DB768 #3D4FB7 #B73D8C
split-complementary
#B7A53D #3D8CB7 #683DB7
monochromatic
#5B521E #897C2E #B7A53D #CCBD65 #DBD193

Accessibility & contrast

On white

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

On black

8.46
#B7A53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A53D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A53D#FFFFFF#000000##000000
##B7A53D1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A130
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#C5998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a53d;
/* rgb */ color: rgb(183, 165, 61);
/* oklch */ color: oklch(71.8% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#d0bf78',
    500: '#b7a53d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a53d;
$custom-light: #d0bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a53d",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 51.148,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.12412,
    "h": 99.4
  },
  "luminance": 0.37314
}

Semantic roles & 50–950 ramp

primary
#B7A53D
secondary
#8992C6
accent
#63DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A53D

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

Preview Lab → · Contrast checker → · Palette generator →

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