#B3AB51#B3AB51

#B3AB51 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.113 H 104.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B3AB51
RGBrgb(179, 171, 81)
HSLhsl(55, 39%, 51%)
HSVhsv(55, 55%, 70%)
CMYKcmyk(0%, 4.5%, 54.7%, 29.8%)
CIE-LABlab(68.97, -9.11, 46.66)
CIE-LCHlch(68.97, 47.54, 101.04°)
OKLaboklab(72.94% -0.0276 0.1091)
OKLCHoklch(72.94% 0.113 104.2)
XYZxyz(34.6396, 39.3047, 13.5449)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB51 #5159B3
analogous
#B37A51 #B3AB51 #8AB351
triadic
#B3AB51 #51B3AB #AB51B3
tetradic
#B3AB51 #51B37A #5159B3 #B3518A
square
#B3AB51 #51B37A #5159B3 #B3518A
split-complementary
#B3AB51 #518AB3 #7A51B3
monochromatic
#605B2A #8A843C #B3AB51 #C6C07C #D8D4A6

Accessibility & contrast

On white

2.37
#B3AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B3AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB51
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB51#FFFFFF#000000##000000
##B3AB511.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A648
Deuteranopia (green-blind)
#BBAA55
Tritanopia (blue-blind)
#BFA197
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab51;
/* rgb */ color: rgb(179, 171, 81);
/* oklch */ color: oklch(72.9% 0.113 104.2);
Tailwind
colors: {
  custom: {
    50: '#ccc385',
    500: '#b3ab51',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab51;
$custom-light: #ccc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab51",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 55.102,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72936,
    "c": 0.11252,
    "h": 104.2
  },
  "luminance": 0.39304
}

Semantic roles & 50–950 ramp

primary
#B3AB51
secondary
#9A9EC6
accent
#62CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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