#B4A03A#B4A03A

#B4A03A is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.122 H 98.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B4A03A
RGBrgb(180, 160, 58)
HSLhsl(50, 51%, 47%)
HSVhsv(50, 68%, 71%)
CMYKcmyk(0%, 11.1%, 67.8%, 29.4%)
CIE-LABlab(65.87, -4.47, 53.73)
CIE-LCHlch(65.87, 53.91, 94.75°)
OKLaboklab(70.43% -0.0171 0.121)
OKLCHoklch(70.43% 0.122 98)
XYZxyz(32.1584, 35.1519, 9.0933)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A03A #3A4EB4
analogous
#B4633A #B4A03A #8BB43A
triadic
#B4A03A #3AB4A0 #A03AB4
tetradic
#B4A03A #3AB463 #3A4EB4 #B43A8B
square
#B4A03A #3AB463 #3A4EB4 #B43A8B
split-complementary
#B4A03A #3A8BB4 #633AB4
monochromatic
#574E1C #86772B #B4A03A #CCBA60 #DBCE8E

Accessibility & contrast

On white

2.62
#B4A03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B4A03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A03A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A03A#FFFFFF#000000##000000
##B4A03A1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2D
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#C2948B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b4a03a;
/* rgb */ color: rgb(180, 160, 58);
/* oklch */ color: oklch(70.4% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#cebb76',
    500: '#b4a03a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a03a;
$custom-light: #cebb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a03a",
  "rgb": {
    "r": 180,
    "g": 160,
    "b": 58
  },
  "hsl": {
    "h": 50.164,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70425,
    "c": 0.12215,
    "h": 98
  },
  "luminance": 0.3515
}

Semantic roles & 50–950 ramp

primary
#B4A03A
secondary
#858FC5
accent
#64DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B4A03A

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

Preview Lab → · Contrast checker → · Palette generator →

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