#B6AB2F#B6AB2F

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

Color values

HEX#B6AB2F
RGBrgb(182, 171, 47)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 71%)
CMYKcmyk(0%, 6%, 74.2%, 28.6%)
CIE-LABlab(68.95, -9.96, 61.13)
CIE-LCHlch(68.95, 61.93, 99.25°)
OKLaboklab(72.89% -0.0339 0.1345)
OKLCHoklch(72.89% 0.139 104.2)
XYZxyz(34.3689, 39.2775, 8.4597)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB2F #2F3AB6
analogous
#B6672F #B6AB2F #7EB62F
triadic
#B6AB2F #2FB6AB #AB2FB6
tetradic
#B6AB2F #2FB667 #2F3AB6 #B62F7E
square
#B6AB2F #2FB667 #2F3AB6 #B62F7E
split-complementary
#B6AB2F #2F7EB6 #672FB6
monochromatic
#555016 #857D22 #B6AB2F #D2C750 #DED781

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AB2F#FFFFFF#000000##000000
##B6AB2F1.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)
#BBA517
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab2f;
/* rgb */ color: rgb(182, 171, 47);
/* oklch */ color: oklch(72.9% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c371',
    500: '#b6ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab2f;
$custom-light: #d0c371;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab2f",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 55.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72894,
    "c": 0.13875,
    "h": 104.2
  },
  "luminance": 0.39276
}

Semantic roles & 50–950 ramp

primary
#B6AB2F
secondary
#7980C7
accent
#52E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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