#B6AB2D#B6AB2D

#B6AB2D 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#B6AB2D
RGBrgb(182, 171, 45)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 71%)
CMYKcmyk(0%, 6%, 75.3%, 28.6%)
CIE-LABlab(68.94, -10.04, 61.81)
CIE-LCHlch(68.94, 62.62, 99.23°)
OKLaboklab(72.88% -0.0343 0.1356)
OKLCHoklch(72.88% 0.14 104.2)
XYZxyz(34.3295, 39.2618, 8.2521)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB2D #2D38B6
analogous
#B6662D #B6AB2D #7DB62D
triadic
#B6AB2D #2DB6AB #AB2DB6
tetradic
#B6AB2D #2DB666 #2D38B6 #B62D7D
square
#B6AB2D #2DB666 #2D38B6 #B62D7D
split-complementary
#B6AB2D #2D7DB6 #662DB6
monochromatic
#544F15 #857D21 #B6AB2D #D3C84D #DFD77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AB2D#FFFFFF#000000##000000
##B6AB2D1.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)
#BBA512
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab2d;
/* rgb */ color: rgb(182, 171, 45);
/* oklch */ color: oklch(72.9% 0.140 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c370',
    500: '#b6ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab2d;
$custom-light: #d0c370;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab2d",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 55.182,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.1399,
    "h": 104.2
  },
  "luminance": 0.3926
}

Semantic roles & 50–950 ramp

primary
#B6AB2D
secondary
#777DC8
accent
#51E344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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