#B4AB3E#B4AB3E

#B4AB3E is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.129 H 104.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B4AB3E
RGBrgb(180, 171, 62)
HSLhsl(55, 49%, 47%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 5%, 65.6%, 29.4%)
CIE-LABlab(68.88, -10.04, 55.17)
CIE-LCHlch(68.88, 56.08, 100.31°)
OKLaboklab(72.83% -0.0324 0.1247)
OKLCHoklch(72.83% 0.129 104.6)
XYZxyz(34.2561, 39.1782, 10.3142)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AB3E #3E47B4
analogous
#B4703E #B4AB3E #82B43E
triadic
#B4AB3E #3EB4AB #AB3EB4
tetradic
#B4AB3E #3EB470 #3E47B4 #B43E82
square
#B4AB3E #3EB470 #3E47B4 #B43E82
split-complementary
#B4AB3E #3E82B4 #703EB4
monochromatic
#59551F #86802E #B4AB3E #CAC265 #DAD493

Accessibility & contrast

On white

2.38
#B4AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B4AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AB3E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AB3E#FFFFFF#000000##000000
##B4AB3E1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA530
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#C1A095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ab3e;
/* rgb */ color: rgb(180, 171, 62);
/* oklch */ color: oklch(72.8% 0.129 104.6);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b4ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ab3e;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ab3e",
  "rgb": {
    "r": 180,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 55.424,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72828,
    "c": 0.12881,
    "h": 104.6
  },
  "luminance": 0.39177
}

Semantic roles & 50–950 ramp

primary
#B4AB3E
secondary
#898DC5
accent
#5AD84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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