#B7A13B#B7A13B

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

Color values

HEX#B7A13B
RGBrgb(183, 161, 59)
HSLhsl(49, 51%, 47%)
HSVhsv(49, 68%, 72%)
CMYKcmyk(0%, 12%, 67.8%, 28.2%)
CIE-LABlab(66.42, -3.63, 53.97)
CIE-LCHlch(66.42, 54.09, 93.84°)
OKLaboklab(70.94% -0.0147 0.1215)
OKLCHoklch(70.94% 0.122 96.9)
XYZxyz(33.0643, 35.8744, 9.3197)
Luminance0.3587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A13B #3B51B7
analogous
#B7633B #B7A13B #8FB73B
triadic
#B7A13B #3BB7A1 #A13BB7
tetradic
#B7A13B #3BB763 #3B51B7 #B73B8F
square
#B7A13B #3BB763 #3B51B7 #B73B8F
split-complementary
#B7A13B #3B8FB7 #633BB7
monochromatic
#5A501D #89782C #B7A13B #CDBA63 #DCCE91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A13B#FFFFFF#000000##000000
##B7A13B1.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)
#B19D2E
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a13b;
/* rgb */ color: rgb(183, 161, 59);
/* oklch */ color: oklch(70.9% 0.122 96.9);
Tailwind
colors: {
  custom: {
    50: '#d0bc76',
    500: '#b7a13b',
    950: '#000000',
  },
}
SCSS
$custom: #b7a13b;
$custom-light: #d0bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a13b",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 49.355,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70935,
    "c": 0.12242,
    "h": 96.9
  },
  "luminance": 0.35873
}

Semantic roles & 50–950 ramp

primary
#B7A13B
secondary
#8793C6
accent
#66DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A13B

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

Preview Lab → · Contrast checker → · Palette generator →

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