#B4AA40#B4AA40

#B4AA40 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.6% C 0.126 H 103.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B4AA40
RGBrgb(180, 170, 64)
HSLhsl(55, 48%, 48%)
HSVhsv(55, 64%, 71%)
CMYKcmyk(0%, 5.6%, 64.4%, 29.4%)
CIE-LABlab(68.62, -9.39, 54.05)
CIE-LCHlch(68.62, 54.86, 99.86°)
OKLaboklab(72.63% -0.0304 0.1226)
OKLCHoklch(72.63% 0.126 103.9)
XYZxyz(34.1238, 38.8242, 10.5458)
Luminance0.3882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA40 #404AB4
analogous
#B47040 #B4AA40 #84B440
triadic
#B4AA40 #40B4AA #AA40B4
tetradic
#B4AA40 #40B470 #404AB4 #B44084
square
#B4AA40 #40B470 #404AB4 #B44084
split-complementary
#B4AA40 #4084B4 #7040B4
monochromatic
#5A5520 #877F30 #B4AA40 #C9C168 #D9D395

Accessibility & contrast

On white

2.40
#B4AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B4AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA40
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA40#FFFFFF#000000##000000
##B4AA401.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#C19F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa40;
/* rgb */ color: rgb(180, 170, 64);
/* oklch */ color: oklch(72.6% 0.126 103.9);
Tailwind
colors: {
  custom: {
    50: '#cdc37a',
    500: '#b4aa40',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa40;
$custom-light: #cdc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa40",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 54.828,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72629,
    "c": 0.12631,
    "h": 103.9
  },
  "luminance": 0.38823
}

Semantic roles & 50–950 ramp

primary
#B4AA40
secondary
#8B90C5
accent
#5CD751
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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