#B8A82D#B8A82D

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

Color values

HEX#B8A82D
RGBrgb(184, 168, 45)
HSLhsl(53, 61%, 45%)
HSVhsv(53, 76%, 72%)
CMYKcmyk(0%, 8.7%, 75.5%, 27.8%)
CIE-LABlab(68.30, -7.59, 61.28)
CIE-LCHlch(68.30, 61.75, 97.06°)
OKLaboklab(72.42% -0.0276 0.1344)
OKLCHoklch(72.42% 0.137 101.6)
XYZxyz(34.2451, 38.3866, 8.0877)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A82D #2D3DB8
analogous
#B8632D #B8A82D #82B82D
triadic
#B8A82D #2DB8A8 #A82DB8
tetradic
#B8A82D #2DB863 #2D3DB8 #B82D82
square
#B8A82D #2DB863 #2D3DB8 #B82D82
split-complementary
#B8A82D #2D82B8 #632DB8
monochromatic
#564E15 #877B21 #B8A82D #D4C44E #E0D580

Accessibility & contrast

On white

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

On black

8.68
#B8A82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A82D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A82D#FFFFFF#000000##000000
##B8A82D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a82d;
/* rgb */ color: rgb(184, 168, 45);
/* oklch */ color: oklch(72.4% 0.137 101.6);
Tailwind
colors: {
  custom: {
    50: '#d1c170',
    500: '#b8a82d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a82d;
$custom-light: #d1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a82d",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 53.094,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72418,
    "c": 0.13721,
    "h": 101.6
  },
  "luminance": 0.38385
}

Semantic roles & 50–950 ramp

primary
#B8A82D
secondary
#7881C9
accent
#56E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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