#B7A536#B7A536

#B7A536 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.129 H 99.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B7A536
RGBrgb(183, 165, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 72%)
CMYKcmyk(0%, 9.8%, 70.5%, 28.2%)
CIE-LABlab(67.46, -6.03, 57.08)
CIE-LCHlch(67.46, 57.40, 96.03°)
OKLaboklab(71.75% -0.0221 0.1272)
OKLCHoklch(71.75% 0.129 99.9)
XYZxyz(33.6510, 37.2454, 8.9059)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A536 #3648B7
analogous
#B76536 #B7A536 #89B736
triadic
#B7A536 #36B7A5 #A536B7
tetradic
#B7A536 #36B765 #3648B7 #B73689
square
#B7A536 #36B765 #3648B7 #B73689
split-complementary
#B7A536 #3689B7 #6536B7
monochromatic
#58501A #887A28 #B7A536 #CFBF5B #DDD18B

Accessibility & contrast

On white

2.49
#B7A536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B7A536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A536
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A536#FFFFFF#000000##000000
##B7A5361.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A025
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#C5998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a536;
/* rgb */ color: rgb(183, 165, 54);
/* oklch */ color: oklch(71.7% 0.129 99.9);
Tailwind
colors: {
  custom: {
    50: '#d0bf74',
    500: '#b7a536',
    950: '#000000',
  },
}
SCSS
$custom: #b7a536;
$custom-light: #d0bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a536",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 51.628,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.12914,
    "h": 99.9
  },
  "luminance": 0.37244
}

Semantic roles & 50–950 ramp

primary
#B7A536
secondary
#828CC7
accent
#5FDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A536

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

Preview Lab → · Contrast checker → · Palette generator →

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