#B7A033#B7A033

#B7A033 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.127 H 96.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B7A033
RGBrgb(183, 160, 51)
HSLhsl(50, 56%, 46%)
HSVhsv(50, 72%, 72%)
CMYKcmyk(0%, 12.6%, 72.1%, 28.2%)
CIE-LABlab(66.10, -3.52, 56.91)
CIE-LCHlch(66.10, 57.02, 93.54°)
OKLaboklab(70.66% -0.0153 0.1263)
OKLCHoklch(70.66% 0.127 96.9)
XYZxyz(32.6984, 35.4496, 8.2515)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A033 #334AB7
analogous
#B75E33 #B7A033 #8CB733
triadic
#B7A033 #33B7A0 #A033B7
tetradic
#B7A033 #33B75E #334AB7 #B7338C
square
#B7A033 #33B75E #334AB7 #B7338C
split-complementary
#B7A033 #338CB7 #5E33B7
monochromatic
#574C18 #877626 #B7A033 #D0BB57 #DECE87

Accessibility & contrast

On white

2.60
#B7A033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B7A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A033
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A033#FFFFFF#000000##000000
##B7A0331.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#C6948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a033;
/* rgb */ color: rgb(183, 160, 51);
/* oklch */ color: oklch(70.7% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#d0bb72',
    500: '#b7a033',
    950: '#000000',
  },
}
SCSS
$custom: #b7a033;
$custom-light: #d0bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a033",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 49.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70657,
    "c": 0.12725,
    "h": 96.9
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#B7A033
secondary
#7F8BC7
accent
#63E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B7A033

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

Preview Lab → · Contrast checker → · Palette generator →

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