#B4AD2A#B4AD2A

#B4AD2A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.144 H 106.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B4AD2A
RGBrgb(180, 173, 42)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 3.9%, 76.7%, 29.4%)
CIE-LABlab(69.30, -12.08, 63.08)
CIE-LCHlch(69.30, 64.22, 100.84°)
OKLaboklab(73.12% -0.0402 0.1378)
OKLCHoklch(73.12% 0.144 106.3)
XYZxyz(34.1853, 39.7589, 8.0636)
Luminance0.3976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AD2A #2A31B4
analogous
#B4682A #B4AD2A #76B42A
triadic
#B4AD2A #2AB4AD #AD2AB4
tetradic
#B4AD2A #2AB468 #2A31B4 #B42A76
square
#B4AD2A #2AB468 #2A31B4 #B42A76
split-complementary
#B4AD2A #2A76B4 #682AB4
monochromatic
#514E13 #827D1E #B4AD2A #D4CD47 #E0DA79

Accessibility & contrast

On white

2.35
#B4AD2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B4AD2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AD2A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AD2A#FFFFFF#000000##000000
##B4AD2A1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA608
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#C2A194
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ad2a;
/* rgb */ color: rgb(180, 173, 42);
/* oklch */ color: oklch(73.1% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#cec56f',
    500: '#b4ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ad2a;
$custom-light: #cec56f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ad2a",
  "rgb": {
    "r": 180,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 56.957,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73118,
    "c": 0.14357,
    "h": 106.3
  },
  "luminance": 0.39758
}

Semantic roles & 50–950 ramp

primary
#B4AD2A
secondary
#7277C8
accent
#4BE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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