#B4AA39#B4AA39

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

Color values

HEX#B4AA39
RGBrgb(180, 170, 57)
HSLhsl(55, 52%, 46%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 5.6%, 68.3%, 29.4%)
CIE-LABlab(68.57, -9.81, 56.91)
CIE-LCHlch(68.57, 57.75, 99.78°)
OKLaboklab(72.57% -0.0323 0.1275)
OKLCHoklch(72.57% 0.132 104.2)
XYZxyz(33.9370, 38.7495, 9.5619)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA39 #3943B4
analogous
#B46D39 #B4AA39 #81B439
triadic
#B4AA39 #39B4AA #AA39B4
tetradic
#B4AA39 #39B46D #3943B4 #B43981
square
#B4AA39 #39B46D #3943B4 #B43981
split-complementary
#B4AA39 #3981B4 #6D39B4
monochromatic
#57521C #867E2A #B4AA39 #CCC35E #DBD48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA39#FFFFFF#000000##000000
##B4AA391.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)
#B9A429
Deuteranopia (green-blind)
#BCAA40
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa39;
/* rgb */ color: rgb(180, 170, 57);
/* oklch */ color: oklch(72.6% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#cec376',
    500: '#b4aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa39;
$custom-light: #cec376;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa39",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 55.122,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.13154,
    "h": 104.2
  },
  "luminance": 0.38748
}

Semantic roles & 50–950 ramp

primary
#B4AA39
secondary
#8389C5
accent
#58DB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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