#B8A82A#B8A82A

#B8A82A is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.139 H 101.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B8A82A
RGBrgb(184, 168, 42)
HSLhsl(53, 63%, 44%)
HSVhsv(53, 77%, 72%)
CMYKcmyk(0%, 8.7%, 77.2%, 27.8%)
CIE-LABlab(68.29, -7.72, 62.28)
CIE-LCHlch(68.29, 62.76, 97.06°)
OKLaboklab(72.4% -0.0282 0.136)
OKLCHoklch(72.4% 0.139 101.7)
XYZxyz(34.1893, 38.3643, 7.7942)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A82A #2A3AB8
analogous
#B8612A #B8A82A #81B82A
triadic
#B8A82A #2AB8A8 #A82AB8
tetradic
#B8A82A #2AB861 #2A3AB8 #B82A81
square
#B8A82A #2AB861 #2A3AB8 #B82A81
split-complementary
#B8A82A #2A81B8 #612AB8
monochromatic
#544D13 #867B1F #B8A82A #D6C64A #E1D67B

Accessibility & contrast

On white

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

On black

8.67
#B8A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A82A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A82A#FFFFFF#000000##000000
##B8A82A1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#C69C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a82a;
/* rgb */ color: rgb(184, 168, 42);
/* oklch */ color: oklch(72.4% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#d1c16e',
    500: '#b8a82a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a82a;
$custom-light: #d1c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a82a",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 53.239,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.724,
    "c": 0.13885,
    "h": 101.7
  },
  "luminance": 0.38363
}

Semantic roles & 50–950 ramp

primary
#B8A82A
secondary
#757EC9
accent
#54E642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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