#B8A834#B8A834

#B8A834 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.133 H 101.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B8A834
RGBrgb(184, 168, 52)
HSLhsl(53, 56%, 46%)
HSVhsv(53, 72%, 72%)
CMYKcmyk(0%, 8.7%, 71.7%, 27.8%)
CIE-LABlab(68.35, -7.27, 58.77)
CIE-LCHlch(68.35, 59.22, 97.06°)
OKLaboklab(72.47% -0.0259 0.1304)
OKLCHoklch(72.47% 0.133 101.3)
XYZxyz(34.3912, 38.4451, 8.8573)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A834 #3444B8
analogous
#B86634 #B8A834 #86B834
triadic
#B8A834 #34B8A8 #A834B8
tetradic
#B8A834 #34B866 #3444B8 #B83486
square
#B8A834 #34B866 #3444B8 #B83486
split-complementary
#B8A834 #3486B8 #6634B8
monochromatic
#595119 #887C27 #B8A834 #D0C259 #DED389

Accessibility & contrast

On white

2.42
#B8A834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B8A834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A834
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A834#FFFFFF#000000##000000
##B8A8341.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A321
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#C69C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a834;
/* rgb */ color: rgb(184, 168, 52);
/* oklch */ color: oklch(72.5% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#d1c173',
    500: '#b8a834',
    950: '#000000',
  },
}
SCSS
$custom: #b8a834;
$custom-light: #d1c173;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a834",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 52.727,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72466,
    "c": 0.13296,
    "h": 101.3
  },
  "luminance": 0.38444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A834

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

Preview Lab → · Contrast checker → · Palette generator →

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