#B8AC40#B8AC40

#B8AC40 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.128 H 103.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B8AC40
RGBrgb(184, 172, 64)
HSLhsl(54, 48%, 49%)
HSVhsv(54, 65%, 72%)
CMYKcmyk(0%, 6.5%, 65.2%, 27.8%)
CIE-LABlab(69.52, -8.71, 55.10)
CIE-LCHlch(69.52, 55.79, 98.98°)
OKLaboklab(73.42% -0.0287 0.1247)
OKLCHoklch(73.42% 0.128 103)
XYZxyz(35.4465, 40.0670, 10.7160)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AC40 #404CB8
analogous
#B87040 #B8AC40 #88B840
triadic
#B8AC40 #40B8AC #AC40B8
tetradic
#B8AC40 #40B870 #404CB8 #B84088
square
#B8AC40 #40B870 #404CB8 #B84088
split-complementary
#B8AC40 #4088B8 #7040B8
monochromatic
#5D5720 #8B8230 #B8AC40 #CBC16A #DBD497

Accessibility & contrast

On white

2.33
#B8AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B8AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AC40
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AC40#FFFFFF#000000##000000
##B8AC401.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#BFAC46
Tritanopia (blue-blind)
#C5A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b8ac40;
/* rgb */ color: rgb(184, 172, 64);
/* oklch */ color: oklch(73.4% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c47a',
    500: '#b8ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b8ac40;
$custom-light: #d0c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ac40",
  "rgb": {
    "r": 184,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 54,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73423,
    "c": 0.12797,
    "h": 103
  },
  "luminance": 0.40066
}

Semantic roles & 50–950 ramp

primary
#B8AC40
secondary
#8D93C7
accent
#5DD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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