#B7A334#B7A334

#B7A334 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.129 H 98.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B7A334
RGBrgb(183, 163, 52)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 72%)
CMYKcmyk(0%, 10.9%, 71.6%, 28.2%)
CIE-LABlab(66.91, -5.07, 57.32)
CIE-LCHlch(66.91, 57.54, 95.05°)
OKLaboklab(71.3% -0.0196 0.1274)
OKLCHoklch(71.3% 0.129 98.8)
XYZxyz(33.2470, 36.5112, 8.5443)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A334 #3448B7
analogous
#B76134 #B7A334 #89B734
triadic
#B7A334 #34B7A3 #A334B7
tetradic
#B7A334 #34B761 #3448B7 #B73489
square
#B7A334 #34B761 #3448B7 #B73489
split-complementary
#B7A334 #3489B7 #6134B7
monochromatic
#584E19 #877926 #B7A334 #D0BD59 #DDD088

Accessibility & contrast

On white

2.53
#B7A334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B7A334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A334
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A334#FFFFFF#000000##000000
##B7A3341.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B8A63B
Tritanopia (blue-blind)
#C5978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a334;
/* rgb */ color: rgb(183, 163, 52);
/* oklch */ color: oklch(71.3% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#d0bd73',
    500: '#b7a334',
    950: '#000000',
  },
}
SCSS
$custom: #b7a334;
$custom-light: #d0bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a334",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 50.84,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.12888,
    "h": 98.8
  },
  "luminance": 0.3651
}

Semantic roles & 50–950 ramp

primary
#B7A334
secondary
#808BC7
accent
#60DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A334

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

Preview Lab → · Contrast checker → · Palette generator →

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