#B7A13D#B7A13D

#B7A13D is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.121 H 96.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B7A13D
RGBrgb(183, 161, 61)
HSLhsl(49, 50%, 48%)
HSVhsv(49, 67%, 72%)
CMYKcmyk(0%, 12%, 66.7%, 28.2%)
CIE-LABlab(66.44, -3.51, 53.13)
CIE-LCHlch(66.44, 53.24, 93.78°)
OKLaboklab(70.95% -0.0141 0.1201)
OKLCHoklch(70.95% 0.121 96.7)
XYZxyz(33.1171, 35.8956, 9.5981)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A13D #3D53B7
analogous
#B7643D #B7A13D #90B73D
triadic
#B7A13D #3DB7A1 #A13DB7
tetradic
#B7A13D #3DB764 #3D53B7 #B73D90
square
#B7A13D #3DB764 #3D53B7 #B73D90
split-complementary
#B7A13D #3D90B7 #643DB7
monochromatic
#5B501E #89792E #B7A13D #CCB965 #DBCE93

Accessibility & contrast

On white

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

On black

8.18
#B7A13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A13D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A13D#FFFFFF#000000##000000
##B7A13D1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D30
Deuteranopia (green-blind)
#B6A542
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a13d;
/* rgb */ color: rgb(183, 161, 61);
/* oklch */ color: oklch(71.0% 0.121 96.7);
Tailwind
colors: {
  custom: {
    50: '#d0bc77',
    500: '#b7a13d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a13d;
$custom-light: #d0bc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a13d",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 49.18,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.12091,
    "h": 96.7
  },
  "luminance": 0.35894
}

Semantic roles & 50–950 ramp

primary
#B7A13D
secondary
#8994C6
accent
#67DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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