#B3AB4F#B3AB4F

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

Color values

HEX#B3AB4F
RGBrgb(179, 171, 79)
HSLhsl(55, 40%, 51%)
HSVhsv(55, 56%, 70%)
CMYKcmyk(0%, 4.5%, 55.9%, 29.8%)
CIE-LABlab(68.95, -9.27, 47.59)
CIE-LCHlch(68.95, 48.49, 101.02°)
OKLaboklab(72.91% -0.0283 0.1109)
OKLCHoklch(72.91% 0.114 104.3)
XYZxyz(34.5657, 39.2752, 13.1557)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB4F #4F57B3
analogous
#B3794F #B3AB4F #89B34F
triadic
#B3AB4F #4FB3AB #AB4FB3
tetradic
#B3AB4F #4FB379 #4F57B3 #B34F89
square
#B3AB4F #4FB379 #4F57B3 #B34F89
split-complementary
#B3AB4F #4F89B3 #794FB3
monochromatic
#5F5A29 #89833B #B3AB4F #C5BF7A #D8D4A4

Accessibility & contrast

On white

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

On black

8.85
#B3AB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB4F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB4F#FFFFFF#000000##000000
##B3AB4F1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ab4f;
/* rgb */ color: rgb(179, 171, 79);
/* oklch */ color: oklch(72.9% 0.114 104.3);
Tailwind
colors: {
  custom: {
    50: '#ccc383',
    500: '#b3ab4f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab4f;
$custom-light: #ccc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab4f",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 55.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.11442,
    "h": 104.3
  },
  "luminance": 0.39274
}

Semantic roles & 50–950 ramp

primary
#B3AB4F
secondary
#999CC5
accent
#62D058
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B3AB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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