#B3AB32#B3AB32

#B3AB32 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.137 H 105.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B3AB32
RGBrgb(179, 171, 50)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 70%)
CMYKcmyk(0%, 4.5%, 72.1%, 29.8%)
CIE-LABlab(68.71, -11.13, 59.72)
CIE-LCHlch(68.71, 60.75, 100.55°)
OKLaboklab(72.64% -0.0367 0.1322)
OKLCHoklch(72.64% 0.137 105.5)
XYZxyz(33.7304, 38.9411, 8.7566)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB32 #323AB3
analogous
#B36A32 #B3AB32 #7BB332
triadic
#B3AB32 #32B3AB #AB32B3
tetradic
#B3AB32 #32B36A #323AB3 #B3327B
square
#B3AB32 #32B36A #323AB3 #B3327B
split-complementary
#B3AB32 #327BB3 #6A32B3
monochromatic
#535017 #837D25 #B3AB32 #CFC753 #DCD783

Accessibility & contrast

On white

2.39
#B3AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B3AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB32
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB32#FFFFFF#000000##000000
##B3AB321.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab32;
/* rgb */ color: rgb(179, 171, 50);
/* oklch */ color: oklch(72.6% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#cdc372',
    500: '#b3ab32',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab32;
$custom-light: #cdc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab32",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 56.279,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.13724,
    "h": 105.5
  },
  "luminance": 0.3894
}

Semantic roles & 50–950 ramp

primary
#B3AB32
secondary
#7B80C6
accent
#52E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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