#B3AB54#B3AB54

#B3AB54 is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.110 H 104.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B3AB54
RGBrgb(179, 171, 84)
HSLhsl(55, 38%, 52%)
HSVhsv(55, 53%, 70%)
CMYKcmyk(0%, 4.5%, 53.1%, 29.8%)
CIE-LABlab(69.00, -8.86, 45.25)
CIE-LCHlch(69.00, 46.11, 101.07°)
OKLaboklab(72.97% -0.0265 0.1064)
OKLCHoklch(72.97% 0.11 104)
XYZxyz(34.7546, 39.3507, 14.1505)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB54 #545CB3
analogous
#B37C54 #B3AB54 #8CB354
triadic
#B3AB54 #54B3AB #AB54B3
tetradic
#B3AB54 #54B37C #545CB3 #B3548C
square
#B3AB54 #54B37C #545CB3 #B3548C
split-complementary
#B3AB54 #548CB3 #7C54B3
monochromatic
#615D2B #8C853E #B3AB54 #C6C07E #D9D5A9

Accessibility & contrast

On white

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

On black

8.87
#B3AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB54
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB54#FFFFFF#000000##000000
##B3AB541.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ab54;
/* rgb */ color: rgb(179, 171, 84);
/* oklch */ color: oklch(73.0% 0.110 104.0);
Tailwind
colors: {
  custom: {
    50: '#ccc387',
    500: '#b3ab54',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab54;
$custom-light: #ccc387;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab54",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 54.947,
    "s": 38.462,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.10961,
    "h": 104
  },
  "luminance": 0.3935
}

Semantic roles & 50–950 ramp

primary
#B3AB54
secondary
#9DA0C6
accent
#63CE59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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