#B8A832#B8A832

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

Color values

HEX#B8A832
RGBrgb(184, 168, 50)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 73%, 72%)
CMYKcmyk(0%, 8.7%, 72.8%, 27.8%)
CIE-LABlab(68.33, -7.37, 59.51)
CIE-LCHlch(68.33, 59.96, 97.06°)
OKLaboklab(72.45% -0.0264 0.1316)
OKLCHoklch(72.45% 0.134 101.4)
XYZxyz(34.3471, 38.4274, 8.6250)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A832 #3242B8
analogous
#B86532 #B8A832 #85B832
triadic
#B8A832 #32B8A8 #A832B8
tetradic
#B8A832 #32B865 #3242B8 #B83285
square
#B8A832 #32B865 #3242B8 #B83285
split-complementary
#B8A832 #3285B8 #6532B8
monochromatic
#585018 #887C25 #B8A832 #D1C256 #DED486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A832#FFFFFF#000000##000000
##B8A8321.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)
#B8A31E
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#C69C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a832;
/* rgb */ color: rgb(184, 168, 50);
/* oklch */ color: oklch(72.5% 0.134 101.4);
Tailwind
colors: {
  custom: {
    50: '#d1c172',
    500: '#b8a832',
    950: '#000000',
  },
}
SCSS
$custom: #b8a832;
$custom-light: #d1c172;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a832",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 52.836,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.13423,
    "h": 101.4
  },
  "luminance": 0.38426
}

Semantic roles & 50–950 ramp

primary
#B8A832
secondary
#7E87C8
accent
#5AE147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A832

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

Preview Lab → · Contrast checker → · Palette generator →

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