#B6AC31#B6AC31

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

Color values

HEX#B6AC31
RGBrgb(182, 172, 49)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 71%)
CMYKcmyk(0%, 5.5%, 73.1%, 28.6%)
CIE-LABlab(69.24, -10.39, 60.68)
CIE-LCHlch(69.24, 61.57, 99.71°)
OKLaboklab(73.12% -0.0349 0.134)
OKLCHoklch(73.12% 0.138 104.6)
XYZxyz(34.5998, 39.6732, 8.7403)
Luminance0.3967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC31 #313BB6
analogous
#B66A31 #B6AC31 #7DB631
triadic
#B6AC31 #31B6AC #AC31B6
tetradic
#B6AC31 #31B66A #313BB6 #B6317D
square
#B6AC31 #31B66A #313BB6 #B6317D
split-complementary
#B6AC31 #317DB6 #6A31B6
monochromatic
#565117 #867E24 #B6AC31 #D1C753 #DED784

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AC31#FFFFFF#000000##000000
##B6AC311.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)
#BBA61B
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C4A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac31;
/* rgb */ color: rgb(182, 172, 49);
/* oklch */ color: oklch(73.1% 0.138 104.6);
Tailwind
colors: {
  custom: {
    50: '#cfc472',
    500: '#b6ac31',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac31;
$custom-light: #cfc472;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac31",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 55.489,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73124,
    "c": 0.13845,
    "h": 104.6
  },
  "luminance": 0.39672
}

Semantic roles & 50–950 ramp

primary
#B6AC31
secondary
#7C81C7
accent
#53E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AC31

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

Preview Lab → · Contrast checker → · Palette generator →

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