#B4A55A#B4A55A

#B4A55A is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.098 H 98.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B4A55A
RGBrgb(180, 165, 90)
HSLhsl(50, 38%, 53%)
HSVhsv(50, 50%, 71%)
CMYKcmyk(0%, 8.3%, 50%, 29.4%)
CIE-LABlab(67.54, -4.72, 40.55)
CIE-LCHlch(67.54, 40.83, 96.64°)
OKLaboklab(71.86% -0.014 0.0966)
OKLCHoklch(71.86% 0.098 98.3)
XYZxyz(34.1240, 37.3530, 15.0832)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A55A #5A69B4
analogous
#B4785A #B4A55A #96B45A
triadic
#B4A55A #5AB4A5 #A55AB4
tetradic
#B4A55A #5AB478 #5A69B4 #B45A96
square
#B4A55A #5AB478 #5A69B4 #B45A96
split-complementary
#B4A55A #5A96B4 #785AB4
monochromatic
#655C2E #908241 #B4A55A #C7BC84 #DAD3AE

Accessibility & contrast

On white

2.48
#B4A55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B4A55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A55A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A55A#FFFFFF#000000##000000
##B4A55A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A154
Deuteranopia (green-blind)
#B6A75D
Tritanopia (blue-blind)
#C09B93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a55a;
/* rgb */ color: rgb(180, 165, 90);
/* oklch */ color: oklch(71.9% 0.098 98.3);
Tailwind
colors: {
  custom: {
    50: '#ccbf8a',
    500: '#b4a55a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a55a;
$custom-light: #ccbf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a55a",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 90
  },
  "hsl": {
    "h": 50,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71857,
    "c": 0.09762,
    "h": 98.3
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

primary
#B4A55A
secondary
#A1A8C8
accent
#6ECD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B4A55A

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

Preview Lab → · Contrast checker → · Palette generator →

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