#B3AB52#B3AB52

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

Color values

HEX#B3AB52
RGBrgb(179, 171, 82)
HSLhsl(55, 39%, 51%)
HSVhsv(55, 54%, 70%)
CMYKcmyk(0%, 4.5%, 54.2%, 29.8%)
CIE-LABlab(68.98, -9.03, 46.20)
CIE-LCHlch(68.98, 47.07, 101.06°)
OKLaboklab(72.95% -0.0272 0.1082)
OKLCHoklch(72.95% 0.112 104.1)
XYZxyz(34.6773, 39.3199, 13.7438)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB52 #525AB3
analogous
#B37A52 #B3AB52 #8AB352
triadic
#B3AB52 #52B3AB #AB52B3
tetradic
#B3AB52 #52B37A #525AB3 #B3528A
square
#B3AB52 #52B37A #525AB3 #B3528A
split-complementary
#B3AB52 #528AB3 #7A52B3
monochromatic
#605C2A #8B843D #B3AB52 #C6C07D #D8D4A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB52#FFFFFF#000000##000000
##B3AB521.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)
#B8A649
Deuteranopia (green-blind)
#BBAA56
Tritanopia (blue-blind)
#BFA197
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab52;
/* rgb */ color: rgb(179, 171, 82);
/* oklch */ color: oklch(72.9% 0.112 104.1);
Tailwind
colors: {
  custom: {
    50: '#ccc385',
    500: '#b3ab52',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab52;
$custom-light: #ccc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab52",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 55.052,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72949,
    "c": 0.11157,
    "h": 104.1
  },
  "luminance": 0.39319
}

Semantic roles & 50–950 ramp

primary
#B3AB52
secondary
#9B9FC6
accent
#63CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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