#B7A13A#B7A13A

#B7A13A is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.123 H 97.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B7A13A
RGBrgb(183, 161, 58)
HSLhsl(49, 52%, 47%)
HSVhsv(49, 68%, 72%)
CMYKcmyk(0%, 12%, 68.3%, 28.2%)
CIE-LABlab(66.42, -3.68, 54.38)
CIE-LCHlch(66.42, 54.51, 93.87°)
OKLaboklab(70.93% -0.015 0.1222)
OKLCHoklch(70.93% 0.123 97)
XYZxyz(33.0386, 35.8641, 9.1844)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A13A #3A50B7
analogous
#B7633A #B7A13A #8FB73A
triadic
#B7A13A #3AB7A1 #A13AB7
tetradic
#B7A13A #3AB763 #3A50B7 #B73A8F
square
#B7A13A #3AB763 #3A50B7 #B73A8F
split-complementary
#B7A13A #3A8FB7 #633AB7
monochromatic
#5A4F1D #89782B #B7A13A #CDBA61 #DCCE90

Accessibility & contrast

On white

2.57
#B7A13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B7A13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A13A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A13A#FFFFFF#000000##000000
##B7A13A1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2C
Deuteranopia (green-blind)
#B7A540
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a13a;
/* rgb */ color: rgb(183, 161, 58);
/* oklch */ color: oklch(70.9% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#d0bc76',
    500: '#b7a13a',
    950: '#000000',
  },
}
SCSS
$custom: #b7a13a;
$custom-light: #d0bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a13a",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 58
  },
  "hsl": {
    "h": 49.44,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70926,
    "c": 0.12315,
    "h": 97
  },
  "luminance": 0.35863
}

Semantic roles & 50–950 ramp

primary
#B7A13A
secondary
#8692C7
accent
#66DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A13A

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

Preview Lab → · Contrast checker → · Palette generator →

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