#B7A137#B7A137

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

Color values

HEX#B7A137
RGBrgb(183, 161, 55)
HSLhsl(50, 54%, 47%)
HSVhsv(50, 70%, 72%)
CMYKcmyk(0%, 12%, 69.9%, 28.2%)
CIE-LABlab(66.39, -3.85, 55.61)
CIE-LCHlch(66.39, 55.74, 93.96°)
OKLaboklab(70.9% -0.0158 0.1243)
OKLCHoklch(70.9% 0.125 97.3)
XYZxyz(32.9645, 35.8345, 8.7941)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A137 #374DB7
analogous
#B76137 #B7A137 #8DB737
triadic
#B7A137 #37B7A1 #A137B7
tetradic
#B7A137 #37B761 #374DB7 #B7378D
square
#B7A137 #37B761 #374DB7 #B7378D
split-complementary
#B7A137 #378DB7 #6137B7
monochromatic
#594E1B #887829 #B7A137 #CEBB5D #DCCF8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A137#FFFFFF#000000##000000
##B7A1371.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)
#B19D28
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#C5958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a137;
/* rgb */ color: rgb(183, 161, 55);
/* oklch */ color: oklch(70.9% 0.125 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0bc74',
    500: '#b7a137',
    950: '#000000',
  },
}
SCSS
$custom: #b7a137;
$custom-light: #d0bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a137",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 55
  },
  "hsl": {
    "h": 49.688,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70901,
    "c": 0.12529,
    "h": 97.3
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#B7A137
secondary
#838FC7
accent
#64DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B7A137

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

Preview Lab → · Contrast checker → · Palette generator →

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