#B4AA3A#B4AA3A

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

Color values

HEX#B4AA3A
RGBrgb(180, 170, 58)
HSLhsl(55, 51%, 47%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 5.6%, 67.8%, 29.4%)
CIE-LABlab(68.58, -9.75, 56.52)
CIE-LCHlch(68.58, 57.35, 99.79°)
OKLaboklab(72.58% -0.0321 0.1268)
OKLCHoklch(72.58% 0.131 104.2)
XYZxyz(33.9622, 38.7595, 9.6945)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA3A #3A44B4
analogous
#B46D3A #B4AA3A #81B43A
triadic
#B4AA3A #3AB4AA #AA3AB4
tetradic
#B4AA3A #3AB46D #3A44B4 #B43A81
square
#B4AA3A #3AB46D #3A44B4 #B43A81
split-complementary
#B4AA3A #3A81B4 #6D3AB4
monochromatic
#57531C #867E2B #B4AA3A #CCC360 #DBD48E

Accessibility & contrast

On white

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

On black

8.75
#B4AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA3A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA3A#FFFFFF#000000##000000
##B4AA3A1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42A
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa3a;
/* rgb */ color: rgb(180, 170, 58);
/* oklch */ color: oklch(72.6% 0.131 104.2);
Tailwind
colors: {
  custom: {
    50: '#cec376',
    500: '#b4aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa3a;
$custom-light: #cec376;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa3a",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 55.082,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72576,
    "c": 0.13082,
    "h": 104.2
  },
  "luminance": 0.38758
}

Semantic roles & 50–950 ramp

primary
#B4AA3A
secondary
#858AC5
accent
#59DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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