#B7A733#B7A733

#B7A733 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.133 H 101.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B7A733
RGBrgb(183, 167, 51)
HSLhsl(53, 56%, 46%)
HSVhsv(53, 72%, 72%)
CMYKcmyk(0%, 8.7%, 72.1%, 28.2%)
CIE-LABlab(67.98, -7.24, 58.76)
CIE-LCHlch(67.98, 59.20, 97.02°)
OKLaboklab(72.15% -0.0259 0.1302)
OKLCHoklch(72.15% 0.133 101.2)
XYZxyz(33.9462, 37.9453, 8.6674)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A733 #3343B7
analogous
#B76533 #B7A733 #85B733
triadic
#B7A733 #33B7A7 #A733B7
tetradic
#B7A733 #33B765 #3343B7 #B73385
square
#B7A733 #33B765 #3343B7 #B73385
split-complementary
#B7A733 #3385B7 #6533B7
monochromatic
#575018 #877B26 #B7A733 #D0C157 #DED387

Accessibility & contrast

On white

2.45
#B7A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B7A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A733
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A733#FFFFFF#000000##000000
##B7A7331.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#C59B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a733;
/* rgb */ color: rgb(183, 167, 51);
/* oklch */ color: oklch(72.2% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#d0c072',
    500: '#b7a733',
    950: '#000000',
  },
}
SCSS
$custom: #b7a733;
$custom-light: #d0c072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a733",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 52.727,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7215,
    "c": 0.13278,
    "h": 101.2
  },
  "luminance": 0.37944
}

Semantic roles & 50–950 ramp

primary
#B7A733
secondary
#7F87C7
accent
#5AE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A733

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

Preview Lab → · Contrast checker → · Palette generator →

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