#B8A734#B8A734

#B8A734 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.132 H 100.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B8A734
RGBrgb(184, 167, 52)
HSLhsl(52, 56%, 46%)
HSVhsv(52, 72%, 72%)
CMYKcmyk(0%, 9.2%, 71.7%, 27.8%)
CIE-LABlab(68.08, -6.75, 58.50)
CIE-LCHlch(68.08, 58.89, 96.58°)
OKLaboklab(72.25% -0.0244 0.1298)
OKLCHoklch(72.25% 0.132 100.7)
XYZxyz(34.2073, 38.0773, 8.7960)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A734 #3445B8
analogous
#B86534 #B8A734 #87B834
triadic
#B8A734 #34B8A7 #A734B8
tetradic
#B8A734 #34B865 #3445B8 #B83487
square
#B8A734 #34B865 #3445B8 #B83487
split-complementary
#B8A734 #3487B8 #6534B8
monochromatic
#595019 #887C27 #B8A734 #D0C159 #DED389

Accessibility & contrast

On white

2.44
#B8A734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B8A734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A734
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A734#FFFFFF#000000##000000
##B8A7341.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A222
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#C69B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a734;
/* rgb */ color: rgb(184, 167, 52);
/* oklch */ color: oklch(72.3% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#d1c073',
    500: '#b8a734',
    950: '#000000',
  },
}
SCSS
$custom: #b8a734;
$custom-light: #d1c073;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a734",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 52
  },
  "hsl": {
    "h": 52.273,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72251,
    "c": 0.13212,
    "h": 100.7
  },
  "luminance": 0.38076
}

Semantic roles & 50–950 ramp

primary
#B8A734
secondary
#8089C8
accent
#5CDF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A734

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

Preview Lab → · Contrast checker → · Palette generator →

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