#B7A533#B7A533

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

Color values

HEX#B7A533
RGBrgb(183, 165, 51)
HSLhsl(52, 56%, 46%)
HSVhsv(52, 72%, 72%)
CMYKcmyk(0%, 9.8%, 72.1%, 28.2%)
CIE-LABlab(67.44, -6.18, 58.23)
CIE-LCHlch(67.44, 58.56, 96.06°)
OKLaboklab(71.72% -0.0229 0.1291)
OKLCHoklch(71.72% 0.131 100.1)
XYZxyz(33.5827, 37.2181, 8.5462)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A533 #3345B7
analogous
#B76333 #B7A533 #87B733
triadic
#B7A533 #33B7A5 #A533B7
tetradic
#B7A533 #33B763 #3345B7 #B73387
square
#B7A533 #33B763 #3345B7 #B73387
split-complementary
#B7A533 #3387B7 #6333B7
monochromatic
#574F18 #877A26 #B7A533 #D0C057 #DED287

Accessibility & contrast

On white

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

On black

8.44
#B7A533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A533
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A533#FFFFFF#000000##000000
##B7A5331.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C5998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a533;
/* rgb */ color: rgb(183, 165, 51);
/* oklch */ color: oklch(71.7% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#d0bf72',
    500: '#b7a533',
    950: '#000000',
  },
}
SCSS
$custom: #b7a533;
$custom-light: #d0bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a533",
  "rgb": {
    "r": 183,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 51.818,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.13113,
    "h": 100.1
  },
  "luminance": 0.37217
}

Semantic roles & 50–950 ramp

primary
#B7A533
secondary
#7F88C7
accent
#5DE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A533

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

Preview Lab → · Contrast checker → · Palette generator →

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