#B7A141#B7A141

#B7A141 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.118 H 96.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B7A141
RGBrgb(183, 161, 65)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 64%, 72%)
CMYKcmyk(0%, 12%, 64.5%, 28.2%)
CIE-LABlab(66.47, -3.26, 51.40)
CIE-LCHlch(66.47, 51.51, 93.63°)
OKLaboklab(70.99% -0.013 0.1171)
OKLCHoklch(70.99% 0.118 96.3)
XYZxyz(33.2289, 35.9403, 10.1869)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A141 #4157B7
analogous
#B76641 #B7A141 #92B741
triadic
#B7A141 #41B7A1 #A141B7
tetradic
#B7A141 #41B766 #4157B7 #B74192
square
#B7A141 #41B766 #4157B7 #B74192
split-complementary
#B7A141 #4192B7 #6641B7
monochromatic
#5D5221 #8A7931 #B7A141 #CAB96B #DACE98

Accessibility & contrast

On white

2.56
#B7A141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B7A141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A141
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A141#FFFFFF#000000##000000
##B7A1411.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E36
Deuteranopia (green-blind)
#B6A546
Tritanopia (blue-blind)
#C5958D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a141;
/* rgb */ color: rgb(183, 161, 65);
/* oklch */ color: oklch(71.0% 0.118 96.3);
Tailwind
colors: {
  custom: {
    50: '#d0bc7a',
    500: '#b7a141',
    950: '#000000',
  },
}
SCSS
$custom: #b7a141;
$custom-light: #d0bc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a141",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 65
  },
  "hsl": {
    "h": 48.814,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.11777,
    "h": 96.3
  },
  "luminance": 0.35939
}

Semantic roles & 50–950 ramp

primary
#B7A141
secondary
#8E98C6
accent
#6AD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A141

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

Preview Lab → · Contrast checker → · Palette generator →

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