#B4AA2A#B4AA2A

#B4AA2A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.141 H 104.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B4AA2A
RGBrgb(180, 170, 42)
HSLhsl(56, 62%, 44%)
HSVhsv(56, 77%, 71%)
CMYKcmyk(0%, 5.6%, 76.7%, 29.4%)
CIE-LABlab(68.48, -10.52, 62.32)
CIE-LCHlch(68.48, 63.21, 99.58°)
OKLaboklab(72.46% -0.0359 0.1362)
OKLCHoklch(72.46% 0.141 104.8)
XYZxyz(33.6165, 38.6213, 7.8739)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA2A #2A34B4
analogous
#B4652A #B4AA2A #79B42A
triadic
#B4AA2A #2AB4AA #AA2AB4
tetradic
#B4AA2A #2AB465 #2A34B4 #B42A79
square
#B4AA2A #2AB465 #2A34B4 #B42A79
split-complementary
#B4AA2A #2A79B4 #652AB4
monochromatic
#514C13 #827B1E #B4AA2A #D4CA47 #E0D879

Accessibility & contrast

On white

2.41
#B4AA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B4AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA2A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA2A#FFFFFF#000000##000000
##B4AA2A1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#C29E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa2a;
/* rgb */ color: rgb(180, 170, 42);
/* oklch */ color: oklch(72.5% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#cec26e',
    500: '#b4aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa2a;
$custom-light: #cec26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa2a",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 55.652,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72464,
    "c": 0.14086,
    "h": 104.8
  },
  "luminance": 0.3862
}

Semantic roles & 50–950 ramp

primary
#B4AA2A
secondary
#7278C8
accent
#4EE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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