#B8A934#B8A934

#B8A934 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.134 H 101.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B8A934
RGBrgb(184, 169, 52)
HSLhsl(53, 56%, 46%)
HSVhsv(53, 72%, 72%)
CMYKcmyk(0%, 8.2%, 71.7%, 27.8%)
CIE-LABlab(68.62, -7.80, 59.03)
CIE-LCHlch(68.62, 59.55, 97.53°)
OKLaboklab(72.68% -0.0274 0.131)
OKLCHoklch(72.68% 0.134 101.8)
XYZxyz(34.5765, 38.8157, 8.9190)
Luminance0.3881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A934 #3443B8
analogous
#B86734 #B8A934 #85B834
triadic
#B8A934 #34B8A9 #A934B8
tetradic
#B8A934 #34B867 #3443B8 #B83485
square
#B8A934 #34B867 #3443B8 #B83485
split-complementary
#B8A934 #3485B8 #6734B8
monochromatic
#595119 #887D27 #B8A934 #D0C359 #DED489

Accessibility & contrast

On white

2.40
#B8A934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B8A934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A934
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A934#FFFFFF#000000##000000
##B8A9341.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A421
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a934;
/* rgb */ color: rgb(184, 169, 52);
/* oklch */ color: oklch(72.7% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#d1c273',
    500: '#b8a934',
    950: '#000000',
  },
}
SCSS
$custom: #b8a934;
$custom-light: #d1c273;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a934",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 53.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7268,
    "c": 0.1338,
    "h": 101.8
  },
  "luminance": 0.38814
}

Semantic roles & 50–950 ramp

primary
#B8A934
secondary
#8088C8
accent
#5ADF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A934

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

Preview Lab → · Contrast checker → · Palette generator →

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