#B7AA34#B7AA34

#B7AA34 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.135 H 102.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B7AA34
RGBrgb(183, 170, 52)
HSLhsl(54, 56%, 46%)
HSVhsv(54, 72%, 72%)
CMYKcmyk(0%, 7.1%, 71.6%, 28.2%)
CIE-LABlab(68.80, -8.76, 59.18)
CIE-LCHlch(68.80, 59.83, 98.42°)
OKLaboklab(72.8% -0.0301 0.1313)
OKLCHoklch(72.8% 0.135 102.9)
XYZxyz(34.5245, 39.0661, 8.9701)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AA34 #3441B7
analogous
#B76834 #B7AA34 #82B734
triadic
#B7AA34 #34B7AA #AA34B7
tetradic
#B7AA34 #34B768 #3441B7 #B73482
square
#B7AA34 #34B768 #3441B7 #B73482
split-complementary
#B7AA34 #3482B7 #6834B7
monochromatic
#585119 #877E26 #B7AA34 #D0C459 #DDD588

Accessibility & contrast

On white

2.38
#B7AA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B7AA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AA34
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AA34#FFFFFF#000000##000000
##B7AA341.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA421
Deuteranopia (green-blind)
#BEAA3C
Tritanopia (blue-blind)
#C59E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b7aa34;
/* rgb */ color: rgb(183, 170, 52);
/* oklch */ color: oklch(72.8% 0.135 102.9);
Tailwind
colors: {
  custom: {
    50: '#d0c373',
    500: '#b7aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b7aa34;
$custom-light: #d0c373;
$custom-dark: #000000;
JSON
{
  "hex": "#b7aa34",
  "rgb": {
    "r": 183,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 54.046,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72803,
    "c": 0.13472,
    "h": 102.9
  },
  "luminance": 0.39065
}

Semantic roles & 50–950 ramp

primary
#B7AA34
secondary
#8087C7
accent
#58DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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