#B7A135#B7A135

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

Color values

HEX#B7A135
RGBrgb(183, 161, 53)
HSLhsl(50, 55%, 46%)
HSVhsv(50, 71%, 72%)
CMYKcmyk(0%, 12%, 71%, 28.2%)
CIE-LABlab(66.38, -3.95, 56.40)
CIE-LCHlch(66.38, 56.54, 94.01°)
OKLaboklab(70.88% -0.0163 0.1256)
OKLCHoklch(70.88% 0.127 97.4)
XYZxyz(32.9175, 35.8157, 8.5467)
Luminance0.3581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A135 #354BB7
analogous
#B76035 #B7A135 #8CB735
triadic
#B7A135 #35B7A1 #A135B7
tetradic
#B7A135 #35B760 #354BB7 #B7358C
square
#B7A135 #35B760 #354BB7 #B7358C
split-complementary
#B7A135 #358CB7 #6035B7
monochromatic
#584D1A #887727 #B7A135 #CFBB5A #DDCF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A135#FFFFFF#000000##000000
##B7A1351.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)
#B19D25
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#C5958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a135;
/* rgb */ color: rgb(183, 161, 53);
/* oklch */ color: oklch(70.9% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#d0bc73',
    500: '#b7a135',
    950: '#000000',
  },
}
SCSS
$custom: #b7a135;
$custom-light: #d0bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a135",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 49.846,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.12667,
    "h": 97.4
  },
  "luminance": 0.35814
}

Semantic roles & 50–950 ramp

primary
#B7A135
secondary
#818DC7
accent
#63DE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B7A135

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

Preview Lab → · Contrast checker → · Palette generator →

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