#B6AB2E#B6AB2E

#B6AB2E 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.85:1 contrast (WCAG AA passes).

Color values

HEX#B6AB2E
RGBrgb(182, 171, 46)
HSLhsl(55, 60%, 45%)
HSVhsv(55, 75%, 71%)
CMYKcmyk(0%, 6%, 74.7%, 28.6%)
CIE-LABlab(68.95, -10.00, 61.47)
CIE-LCHlch(68.95, 62.28, 99.24°)
OKLaboklab(72.89% -0.0341 0.1351)
OKLCHoklch(72.89% 0.139 104.2)
XYZxyz(34.3490, 39.2696, 8.3547)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AB2E #2E39B6
analogous
#B6672E #B6AB2E #7DB62E
triadic
#B6AB2E #2EB6AB #AB2EB6
tetradic
#B6AB2E #2EB667 #2E39B6 #B62E7D
square
#B6AB2E #2EB667 #2E39B6 #B62E7D
split-complementary
#B6AB2E #2E7DB6 #672EB6
monochromatic
#544F15 #857D22 #B6AB2E #D2C84F #DFD780

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AB2E#FFFFFF#000000##000000
##B6AB2E1.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)
#BBA515
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C49F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6ab2e;
/* rgb */ color: rgb(182, 171, 46);
/* oklch */ color: oklch(72.9% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#d0c370',
    500: '#b6ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #b6ab2e;
$custom-light: #d0c370;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ab2e",
  "rgb": {
    "r": 182,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 55.147,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72887,
    "c": 0.13933,
    "h": 104.2
  },
  "luminance": 0.39268
}

Semantic roles & 50–950 ramp

primary
#B6AB2E
secondary
#787FC8
accent
#52E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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