#B7A136#B7A136

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

Color values

HEX#B7A136
RGBrgb(183, 161, 54)
HSLhsl(50, 54%, 46%)
HSVhsv(50, 70%, 72%)
CMYKcmyk(0%, 12%, 70.5%, 28.2%)
CIE-LABlab(66.39, -3.90, 56.00)
CIE-LCHlch(66.39, 56.14, 93.98°)
OKLaboklab(70.89% -0.0161 0.125)
OKLCHoklch(70.89% 0.126 97.3)
XYZxyz(32.9408, 35.8250, 8.6691)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A136 #364CB7
analogous
#B76136 #B7A136 #8DB736
triadic
#B7A136 #36B7A1 #A136B7
tetradic
#B7A136 #36B761 #364CB7 #B7368D
square
#B7A136 #36B761 #364CB7 #B7368D
split-complementary
#B7A136 #368DB7 #6136B7
monochromatic
#584E1A #887728 #B7A136 #CFBB5B #DDCF8B

Accessibility & contrast

On white

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

On black

8.16
#B7A136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A136
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A136#FFFFFF#000000##000000
##B7A1361.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#C5958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a136;
/* rgb */ color: rgb(183, 161, 54);
/* oklch */ color: oklch(70.9% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0bc73',
    500: '#b7a136',
    950: '#000000',
  },
}
SCSS
$custom: #b7a136;
$custom-light: #d0bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a136",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 54
  },
  "hsl": {
    "h": 49.767,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70893,
    "c": 0.12599,
    "h": 97.3
  },
  "luminance": 0.35823
}

Semantic roles & 50–950 ramp

primary
#B7A136
secondary
#828EC7
accent
#63DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B7A136

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

Preview Lab → · Contrast checker → · Palette generator →

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