#B3AB33#B3AB33

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

Color values

HEX#B3AB33
RGBrgb(179, 171, 51)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 70%)
CMYKcmyk(0%, 4.5%, 71.5%, 29.8%)
CIE-LABlab(68.71, -11.08, 59.36)
CIE-LCHlch(68.71, 60.38, 100.57°)
OKLaboklab(72.65% -0.0365 0.1316)
OKLCHoklch(72.65% 0.137 105.5)
XYZxyz(33.7522, 38.9498, 8.8715)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB33 #333BB3
analogous
#B36B33 #B3AB33 #7BB333
triadic
#B3AB33 #33B3AB #AB33B3
tetradic
#B3AB33 #33B36B #333BB3 #B3337B
square
#B3AB33 #33B36B #333BB3 #B3337B
split-complementary
#B3AB33 #337BB3 #6B33B3
monochromatic
#545018 #837D25 #B3AB33 #CEC755 #DCD784

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB33#FFFFFF#000000##000000
##B3AB331.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)
#BAA51F
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab33;
/* rgb */ color: rgb(179, 171, 51);
/* oklch */ color: oklch(72.7% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#cdc373',
    500: '#b3ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab33;
$custom-light: #cdc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab33",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 56.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7265,
    "c": 0.13661,
    "h": 105.5
  },
  "luminance": 0.38949
}

Semantic roles & 50–950 ramp

primary
#B3AB33
secondary
#7C81C6
accent
#52DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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