#B8A932#B8A932

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

Color values

HEX#B8A932
RGBrgb(184, 169, 50)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 73%, 72%)
CMYKcmyk(0%, 8.2%, 72.8%, 27.8%)
CIE-LABlab(68.60, -7.90, 59.77)
CIE-LCHlch(68.60, 60.29, 97.53°)
OKLaboklab(72.67% -0.0279 0.1322)
OKLCHoklch(72.67% 0.135 101.9)
XYZxyz(34.5324, 38.7981, 8.6868)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A932 #3241B8
analogous
#B86632 #B8A932 #84B832
triadic
#B8A932 #32B8A9 #A932B8
tetradic
#B8A932 #32B866 #3241B8 #B83284
square
#B8A932 #32B866 #3241B8 #B83284
split-complementary
#B8A932 #3284B8 #6632B8
monochromatic
#585118 #887D25 #B8A932 #D1C356 #DED486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A932#FFFFFF#000000##000000
##B8A9321.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)
#B9A41D
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a932;
/* rgb */ color: rgb(184, 169, 50);
/* oklch */ color: oklch(72.7% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#d1c272',
    500: '#b8a932',
    950: '#000000',
  },
}
SCSS
$custom: #b8a932;
$custom-light: #d1c272;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a932",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 50
  },
  "hsl": {
    "h": 53.284,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72666,
    "c": 0.13507,
    "h": 101.9
  },
  "luminance": 0.38797
}

Semantic roles & 50–950 ramp

primary
#B8A932
secondary
#7E86C8
accent
#58E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A932

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

Preview Lab → · Contrast checker → · Palette generator →

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