#B6AC2E#B6AC2E

#B6AC2E is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.140 H 104.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#B6AC2E
RGBrgb(182, 172, 46)
HSLhsl(56, 60%, 45%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 5.5%, 74.7%, 28.6%)
CIE-LABlab(69.22, -10.52, 61.73)
CIE-LCHlch(69.22, 62.62, 99.67°)
OKLaboklab(73.1% -0.0356 0.1356)
OKLCHoklch(73.1% 0.14 104.7)
XYZxyz(34.5386, 39.6488, 8.4179)
Luminance0.3965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC2E #2E38B6
analogous
#B6682E #B6AC2E #7CB62E
triadic
#B6AC2E #2EB6AC #AC2EB6
tetradic
#B6AC2E #2EB668 #2E38B6 #B62E7C
square
#B6AC2E #2EB668 #2E38B6 #B62E7C
split-complementary
#B6AC2E #2E7CB6 #682EB6
monochromatic
#545015 #857E22 #B6AC2E #D2C94F #DFD880

Accessibility & contrast

On white

2.35
#B6AC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#B6AC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AC2E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AC2E#FFFFFF#000000##000000
##B6AC2E1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA614
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#C4A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac2e;
/* rgb */ color: rgb(182, 172, 46);
/* oklch */ color: oklch(73.1% 0.140 104.7);
Tailwind
colors: {
  custom: {
    50: '#d0c470',
    500: '#b6ac2e',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac2e;
$custom-light: #d0c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac2e",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 55.588,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.14022,
    "h": 104.7
  },
  "luminance": 0.39647
}

Semantic roles & 50–950 ramp

primary
#B6AC2E
secondary
#787EC8
accent
#51E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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