#B6AB33#B6AB33

#B6AB33 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.136 H 104.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B6AB33
RGBrgb(182, 171, 51)
HSLhsl(55, 56%, 46%)
HSVhsv(55, 72%, 71%)
CMYKcmyk(0%, 6%, 72%, 28.6%)
CIE-LABlab(68.98, -9.77, 59.70)
CIE-LCHlch(68.98, 60.49, 99.29°)
OKLaboklab(72.92% -0.033 0.1323)
OKLCHoklch(72.92% 0.136 104)
XYZxyz(34.4533, 39.3113, 8.9043)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB33 #333EB6
analogous
#B66933 #B6AB33 #7FB633
triadic
#B6AB33 #33B6AB #AB33B6
tetradic
#B6AB33 #33B669 #333EB6 #B6337F
square
#B6AB33 #33B669 #333EB6 #B6337F
split-complementary
#B6AB33 #337FB6 #6933B6
monochromatic
#565118 #867E26 #B6AB33 #D0C656 #DDD686

Accessibility & contrast

On white

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

On black

8.86
#B6AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB33
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB33#FFFFFF#000000##000000
##B6AB331.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51F
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab33;
/* rgb */ color: rgb(182, 171, 51);
/* oklch */ color: oklch(72.9% 0.136 104.0);
Tailwind
colors: {
  custom: {
    50: '#cfc373',
    500: '#b6ab33',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab33;
$custom-light: #cfc373;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab33",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 54.962,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72921,
    "c": 0.13631,
    "h": 104
  },
  "luminance": 0.3931
}

Semantic roles & 50–950 ramp

primary
#B6AB33
secondary
#7E84C7
accent
#55E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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