#B6AB2C#B6AB2C

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

Color values

HEX#B6AB2C
RGBrgb(182, 171, 44)
HSLhsl(55, 61%, 44%)
HSVhsv(55, 76%, 71%)
CMYKcmyk(0%, 6%, 75.8%, 28.6%)
CIE-LABlab(68.94, -10.09, 62.15)
CIE-LCHlch(68.94, 62.96, 99.22°)
OKLaboklab(72.88% -0.0346 0.1361)
OKLCHoklch(72.88% 0.14 104.2)
XYZxyz(34.3104, 39.2542, 8.1519)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB2C #2C37B6
analogous
#B6662C #B6AB2C #7CB62C
triadic
#B6AB2C #2CB6AB #AB2CB6
tetradic
#B6AB2C #2CB666 #2C37B6 #B62C7C
square
#B6AB2C #2CB666 #2C37B6 #B62C7C
split-complementary
#B6AB2C #2C7CB6 #662CB6
monochromatic
#534E14 #857D20 #B6AB2C #D4C94C #E0D87D

Accessibility & contrast

On white

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

On black

8.85
#B6AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AB2C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AB2C#FFFFFF#000000##000000
##B6AB2C1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6ab2c;
/* rgb */ color: rgb(182, 171, 44);
/* oklch */ color: oklch(72.9% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c36f',
    500: '#b6ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab2c;
$custom-light: #d0c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab2c",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 55.217,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72875,
    "c": 0.14046,
    "h": 104.2
  },
  "luminance": 0.39253
}

Semantic roles & 50–950 ramp

primary
#B6AB2C
secondary
#767CC8
accent
#50E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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