#B6AB3A#B6AB3A

#B6AB3A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.132 H 103.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B6AB3A
RGBrgb(182, 171, 58)
HSLhsl(55, 52%, 47%)
HSVhsv(55, 68%, 71%)
CMYKcmyk(0%, 6%, 68.1%, 28.6%)
CIE-LABlab(69.02, -9.40, 57.03)
CIE-LCHlch(69.02, 57.80, 99.36°)
OKLaboklab(72.97% -0.0312 0.1279)
OKLCHoklch(72.97% 0.132 103.7)
XYZxyz(34.6194, 39.3777, 9.7793)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB3A #3A45B6
analogous
#B66D3A #B6AB3A #83B63A
triadic
#B6AB3A #3AB6AB #AB3AB6
tetradic
#B6AB3A #3AB66D #3A45B6 #B63A83
square
#B6AB3A #3AB66D #3A45B6 #B63A83
split-complementary
#B6AB3A #3A83B6 #6D3AB6
monochromatic
#59541C #887F2B #B6AB3A #CDC361 #DBD58F

Accessibility & contrast

On white

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

On black

8.88
#B6AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB3A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB3A#FFFFFF#000000##000000
##B6AB3A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52A
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#C39F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab3a;
/* rgb */ color: rgb(182, 171, 58);
/* oklch */ color: oklch(73.0% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#cfc377',
    500: '#b6ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab3a;
$custom-light: #cfc377;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab3a",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 54.677,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72974,
    "c": 0.13161,
    "h": 103.7
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#B6AB3A
secondary
#868BC6
accent
#59DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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