#B6AC3E#B6AC3E

#B6AC3E is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.2% C 0.130 H 104.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B6AC3E
RGBrgb(182, 172, 62)
HSLhsl(55, 49%, 48%)
HSVhsv(55, 66%, 71%)
CMYKcmyk(0%, 5.5%, 65.9%, 28.6%)
CIE-LABlab(69.33, -9.69, 55.69)
CIE-LCHlch(69.33, 56.53, 99.87°)
OKLaboklab(73.22% -0.0316 0.1257)
OKLCHoklch(73.22% 0.13 104.1)
XYZxyz(34.9148, 39.7992, 10.3994)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC3E #3E48B6
analogous
#B6703E #B6AC3E #84B63E
triadic
#B6AC3E #3EB6AC #AC3EB6
tetradic
#B6AC3E #3EB670 #3E48B6 #B63E84
square
#B6AC3E #3EB670 #3E48B6 #B63E84
split-complementary
#B6AC3E #3E84B6 #703EB6
monochromatic
#5B561F #88812E #B6AC3E #CBC366 #DBD594

Accessibility & contrast

On white

2.34
#B6AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B6AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AC3E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AC3E#FFFFFF#000000##000000
##B6AC3E1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA630
Deuteranopia (green-blind)
#BEAC45
Tritanopia (blue-blind)
#C3A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac3e;
/* rgb */ color: rgb(182, 172, 62);
/* oklch */ color: oklch(73.2% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#cfc479',
    500: '#b6ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac3e;
$custom-light: #cfc479;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac3e",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 55,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73224,
    "c": 0.1296,
    "h": 104.1
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#B6AC3E
secondary
#8A8FC6
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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