#B7A034#B7A034

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

Color values

HEX#B7A034
RGBrgb(183, 160, 52)
HSLhsl(49, 56%, 46%)
HSVhsv(49, 72%, 72%)
CMYKcmyk(0%, 12.6%, 71.6%, 28.2%)
CIE-LABlab(66.10, -3.47, 56.52)
CIE-LCHlch(66.10, 56.63, 93.51°)
OKLaboklab(70.67% -0.0151 0.1257)
OKLCHoklch(70.67% 0.127 96.8)
XYZxyz(32.7207, 35.4585, 8.3688)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A034 #344BB7
analogous
#B75E34 #B7A034 #8CB734
triadic
#B7A034 #34B7A0 #A034B7
tetradic
#B7A034 #34B75E #344BB7 #B7348C
square
#B7A034 #34B75E #344BB7 #B7348C
split-complementary
#B7A034 #348CB7 #5E34B7
monochromatic
#584D19 #877626 #B7A034 #D0BB59 #DDCE88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A034#FFFFFF#000000##000000
##B7A0341.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)
#B09C24
Deuteranopia (green-blind)
#B6A43A
Tritanopia (blue-blind)
#C5948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a034;
/* rgb */ color: rgb(183, 160, 52);
/* oklch */ color: oklch(70.7% 0.127 96.8);
Tailwind
colors: {
  custom: {
    50: '#d0bb72',
    500: '#b7a034',
    950: '#000000',
  },
}
SCSS
$custom: #b7a034;
$custom-light: #d0bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a034",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 49.466,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.12659,
    "h": 96.8
  },
  "luminance": 0.35457
}

Semantic roles & 50–950 ramp

primary
#B7A034
secondary
#808CC7
accent
#63DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B7A034

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

Preview Lab → · Contrast checker → · Palette generator →

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