#B3AB29#B3AB29

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

Color values

HEX#B3AB29
RGBrgb(179, 171, 41)
HSLhsl(57, 63%, 43%)
HSVhsv(57, 77%, 70%)
CMYKcmyk(0%, 4.5%, 77.1%, 29.8%)
CIE-LABlab(68.66, -11.52, 62.78)
CIE-LCHlch(68.66, 63.83, 100.40°)
OKLaboklab(72.59% -0.0387 0.1371)
OKLCHoklch(72.59% 0.142 105.8)
XYZxyz(33.5550, 38.8709, 7.8327)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB29 #2931B3
analogous
#B36629 #B3AB29 #76B329
triadic
#B3AB29 #29B3AB #AB29B3
tetradic
#B3AB29 #29B366 #2931B3 #B32976
square
#B3AB29 #29B366 #2931B3 #B32976
split-complementary
#B3AB29 #2976B3 #6629B3
monochromatic
#4F4C12 #817B1E #B3AB29 #D4CC45 #E0DA77

Accessibility & contrast

On white

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

On black

8.77
#B3AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB29
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB29#FFFFFF#000000##000000
##B3AB291.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA507
Deuteranopia (green-blind)
#BDAA33
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3ab29;
/* rgb */ color: rgb(179, 171, 41);
/* oklch */ color: oklch(72.6% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec36e',
    500: '#b3ab29',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab29;
$custom-light: #cec36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab29",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 56.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72586,
    "c": 0.14241,
    "h": 105.8
  },
  "luminance": 0.3887
}

Semantic roles & 50–950 ramp

primary
#B3AB29
secondary
#7075C7
accent
#4CE642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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