#B8A82E#B8A82E

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

Color values

HEX#B8A82E
RGBrgb(184, 168, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 72%)
CMYKcmyk(0%, 8.7%, 75%, 27.8%)
CIE-LABlab(68.31, -7.55, 60.94)
CIE-LCHlch(68.31, 61.40, 97.07°)
OKLaboklab(72.42% -0.0273 0.1339)
OKLCHoklch(72.42% 0.137 101.5)
XYZxyz(34.2645, 38.3944, 8.1903)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A82E #2E3EB8
analogous
#B8632E #B8A82E #83B82E
triadic
#B8A82E #2EB8A8 #A82EB8
tetradic
#B8A82E #2EB863 #2E3EB8 #B82E83
square
#B8A82E #2EB863 #2E3EB8 #B82E83
split-complementary
#B8A82E #2E83B8 #632EB8
monochromatic
#564F16 #877B22 #B8A82E #D3C450 #DFD581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A82E#FFFFFF#000000##000000
##B8A82E1.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)
#B8A316
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#C69C91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a82e;
/* rgb */ color: rgb(184, 168, 46);
/* oklch */ color: oklch(72.4% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c170',
    500: '#b8a82e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a82e;
$custom-light: #d1c170;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a82e",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 53.043,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.13664,
    "h": 101.5
  },
  "luminance": 0.38393
}

Semantic roles & 50–950 ramp

primary
#B8A82E
secondary
#7983C8
accent
#57E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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