#B6AC30#B6AC30

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

Color values

HEX#B6AC30
RGBrgb(182, 172, 48)
HSLhsl(56, 58%, 45%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 5.5%, 73.6%, 28.6%)
CIE-LABlab(69.23, -10.43, 61.04)
CIE-LCHlch(69.23, 61.92, 99.70°)
OKLaboklab(73.12% -0.0352 0.1345)
OKLCHoklch(73.12% 0.139 104.6)
XYZxyz(34.5789, 39.6649, 8.6304)
Luminance0.3966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AC30 #303AB6
analogous
#B66930 #B6AC30 #7DB630
triadic
#B6AC30 #30B6AC #AC30B6
tetradic
#B6AC30 #30B669 #303AB6 #B6307D
square
#B6AC30 #30B669 #303AB6 #B6307D
split-complementary
#B6AC30 #307DB6 #6930B6
monochromatic
#555016 #867E23 #B6AC30 #D1C852 #DED782

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AC30#FFFFFF#000000##000000
##B6AC301.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)
#BBA619
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#C4A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b6ac30;
/* rgb */ color: rgb(182, 172, 48);
/* oklch */ color: oklch(73.1% 0.139 104.6);
Tailwind
colors: {
  custom: {
    50: '#d0c471',
    500: '#b6ac30',
    950: '#000000',
  },
}
SCSS
$custom: #b6ac30;
$custom-light: #d0c471;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ac30",
  "rgb": {
    "r": 182,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 55.522,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.13906,
    "h": 104.6
  },
  "luminance": 0.39664
}

Semantic roles & 50–950 ramp

primary
#B6AC30
secondary
#7B80C7
accent
#52E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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