#B8A440#B8A440

#B8A440 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.121 H 97.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B8A440
RGBrgb(184, 164, 64)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 65%, 72%)
CMYKcmyk(0%, 10.9%, 65.2%, 27.8%)
CIE-LABlab(67.36, -4.49, 52.82)
CIE-LCHlch(67.36, 53.01, 94.86°)
OKLaboklab(71.71% -0.0167 0.1199)
OKLCHoklch(71.71% 0.121 97.9)
XYZxyz(33.9695, 37.1130, 10.2237)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A440 #4054B8
analogous
#B86840 #B8A440 #90B840
triadic
#B8A440 #40B8A4 #A440B8
tetradic
#B8A440 #40B868 #4054B8 #B84090
square
#B8A440 #40B868 #4054B8 #B84090
split-complementary
#B8A440 #4090B8 #6840B8
monochromatic
#5D5320 #8B7C30 #B8A440 #CBBB6A #DBD097

Accessibility & contrast

On white

2.49
#B8A440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B8A440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A440
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A440#FFFFFF#000000##000000
##B8A4401.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a440;
/* rgb */ color: rgb(184, 164, 64);
/* oklch */ color: oklch(71.7% 0.121 97.9);
Tailwind
colors: {
  custom: {
    50: '#d0be7a',
    500: '#b8a440',
    950: '#000000',
  },
}
SCSS
$custom: #b8a440;
$custom-light: #d0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a440",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 64
  },
  "hsl": {
    "h": 50,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71713,
    "c": 0.12103,
    "h": 97.9
  },
  "luminance": 0.37111
}

Semantic roles & 50–950 ramp

primary
#B8A440
secondary
#8D97C7
accent
#67D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A440

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

Preview Lab → · Contrast checker → · Palette generator →

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