#B8A93A#B8A93A

#B8A93A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.130 H 101.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B8A93A
RGBrgb(184, 169, 58)
HSLhsl(53, 52%, 47%)
HSVhsv(53, 68%, 72%)
CMYKcmyk(0%, 8.2%, 68.5%, 27.8%)
CIE-LABlab(68.66, -7.49, 56.71)
CIE-LCHlch(68.66, 57.20, 97.52°)
OKLaboklab(72.73% -0.0259 0.1271)
OKLCHoklch(72.73% 0.13 101.5)
XYZxyz(34.7203, 38.8733, 9.6766)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A93A #3A49B8
analogous
#B86A3A #B8A93A #88B83A
triadic
#B8A93A #3AB8A9 #A93AB8
tetradic
#B8A93A #3AB86A #3A49B8 #B83A88
square
#B8A93A #3AB86A #3A49B8 #B83A88
split-complementary
#B8A93A #3A88B8 #6A3AB8
monochromatic
#5B541D #897E2B #B8A93A #CDC162 #DCD390

Accessibility & contrast

On white

2.39
#B8A93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B8A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A93A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A93A#FFFFFF#000000##000000
##B8A93A1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a93a;
/* rgb */ color: rgb(184, 169, 58);
/* oklch */ color: oklch(72.7% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c276',
    500: '#b8a93a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a93a;
$custom-light: #d1c276;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a93a",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 52.857,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.12973,
    "h": 101.5
  },
  "luminance": 0.38872
}

Semantic roles & 50–950 ramp

primary
#B8A93A
secondary
#878EC7
accent
#5DDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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