#B4AA2D#B4AA2D

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

Color values

HEX#B4AA2D
RGBrgb(180, 170, 45)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 5.6%, 75%, 29.4%)
CIE-LABlab(68.49, -10.40, 61.33)
CIE-LCHlch(68.49, 62.20, 99.62°)
OKLaboklab(72.48% -0.0352 0.1347)
OKLCHoklch(72.48% 0.139 104.7)
XYZxyz(33.6722, 38.6436, 8.1674)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA2D #2D37B4
analogous
#B4672D #B4AA2D #7AB42D
triadic
#B4AA2D #2DB4AA #AA2DB4
tetradic
#B4AA2D #2DB467 #2D37B4 #B42D7A
square
#B4AA2D #2DB467 #2D37B4 #B42D7A
split-complementary
#B4AA2D #2D7AB4 #672DB4
monochromatic
#524E15 #837C21 #B4AA2D #D2C84C #DED77D

Accessibility & contrast

On white

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

On black

8.73
#B4AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA2D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA2D#FFFFFF#000000##000000
##B4AA2D1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4aa2d;
/* rgb */ color: rgb(180, 170, 45);
/* oklch */ color: oklch(72.5% 0.139 104.7);
Tailwind
colors: {
  custom: {
    50: '#cec370',
    500: '#b4aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa2d;
$custom-light: #cec370;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa2d",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 55.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.1392,
    "h": 104.7
  },
  "luminance": 0.38642
}

Semantic roles & 50–950 ramp

primary
#B4AA2D
secondary
#767CC7
accent
#50E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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