#B6AC2D#B6AC2D

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

Color values

HEX#B6AC2D
RGBrgb(182, 172, 45)
HSLhsl(56, 60%, 45%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 5.5%, 75.3%, 28.6%)
CIE-LABlab(69.21, -10.56, 62.07)
CIE-LCHlch(69.21, 62.96, 99.66°)
OKLaboklab(73.1% -0.0358 0.1362)
OKLCHoklch(73.1% 0.141 104.7)
XYZxyz(34.5191, 39.6410, 8.3153)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC2D #2D37B6
analogous
#B6672D #B6AC2D #7CB62D
triadic
#B6AC2D #2DB6AC #AC2DB6
tetradic
#B6AC2D #2DB667 #2D37B6 #B62D7C
square
#B6AC2D #2DB667 #2D37B6 #B62D7C
split-complementary
#B6AC2D #2D7CB6 #672DB6
monochromatic
#544F15 #857E21 #B6AC2D #D3C94D #DFD87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AC2D#FFFFFF#000000##000000
##B6AC2D1.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)
#BCA612
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#C4A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac2d;
/* rgb */ color: rgb(182, 172, 45);
/* oklch */ color: oklch(73.1% 0.141 104.7);
Tailwind
colors: {
  custom: {
    50: '#d0c470',
    500: '#b6ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac2d;
$custom-light: #d0c470;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac2d",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 55.62,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.14079,
    "h": 104.7
  },
  "luminance": 0.3964
}

Semantic roles & 50–950 ramp

primary
#B6AC2D
secondary
#777DC8
accent
#50E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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