#B8AB44#B8AB44

#B8AB44 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.2% C 0.124 H 102.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#B8AB44
RGBrgb(184, 171, 68)
HSLhsl(53, 46%, 49%)
HSVhsv(53, 63%, 72%)
CMYKcmyk(0%, 7.1%, 63%, 27.8%)
CIE-LABlab(69.28, -7.93, 53.12)
CIE-LCHlch(69.28, 53.71, 98.49°)
OKLaboklab(73.25% -0.026 0.1211)
OKLCHoklch(73.25% 0.124 102.1)
XYZxyz(35.3748, 39.7349, 11.2740)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AB44 #4451B8
analogous
#B87144 #B8AB44 #8BB844
triadic
#B8AB44 #44B8AB #AB44B8
tetradic
#B8AB44 #44B871 #4451B8 #B8448B
square
#B8AB44 #44B871 #4451B8 #B8448B
split-complementary
#B8AB44 #448BB8 #7144B8
monochromatic
#5F5823 #8B8133 #B8AB44 #CAC06F #DAD39C

Accessibility & contrast

On white

2.35
#B8AB44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#B8AB44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AB44
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AB44#FFFFFF#000000##000000
##B8AB441.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA638
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#C5A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b8ab44;
/* rgb */ color: rgb(184, 171, 68);
/* oklch */ color: oklch(73.2% 0.124 102.1);
Tailwind
colors: {
  custom: {
    50: '#d0c37c',
    500: '#b8ab44',
    950: '#000000',
  },
}
SCSS
$custom: #b8ab44;
$custom-light: #d0c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ab44",
  "rgb": {
    "r": 184,
    "g": 171,
    "b": 68
  },
  "hsl": {
    "h": 53.276,
    "s": 46.032,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.12388,
    "h": 102.1
  },
  "luminance": 0.39734
}

Semantic roles & 50–950 ramp

primary
#B8AB44
secondary
#9197C7
accent
#61D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8AB44

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

Preview Lab → · Contrast checker → · Palette generator →

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