#B6A131#B6A131

#B6A131 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.129 H 98.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B6A131
RGBrgb(182, 161, 49)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 73%, 71%)
CMYKcmyk(0%, 11.5%, 73.1%, 28.6%)
CIE-LABlab(66.26, -4.59, 57.81)
CIE-LCHlch(66.26, 57.99, 94.54°)
OKLaboklab(70.76% -0.0185 0.1279)
OKLCHoklch(70.76% 0.129 98.3)
XYZxyz(32.5922, 35.6582, 8.0711)
Luminance0.3566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A131 #3146B6
analogous
#B65E31 #B6A131 #89B631
triadic
#B6A131 #31B6A1 #A131B6
tetradic
#B6A131 #31B65E #3146B6 #B63189
square
#B6A131 #31B65E #3146B6 #B63189
split-complementary
#B6A131 #3189B6 #5E31B6
monochromatic
#564C17 #867624 #B6A131 #D1BD53 #DED084

Accessibility & contrast

On white

2.58
#B6A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B6A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A131
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A131#FFFFFF#000000##000000
##B6A1311.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1F
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#C4958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a131;
/* rgb */ color: rgb(182, 161, 49);
/* oklch */ color: oklch(70.8% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#d0bc71',
    500: '#b6a131',
    950: '#000000',
  },
}
SCSS
$custom: #b6a131;
$custom-light: #d0bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a131",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 50.526,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70758,
    "c": 0.12923,
    "h": 98.3
  },
  "luminance": 0.35657
}

Semantic roles & 50–950 ramp

primary
#B6A131
secondary
#7C88C7
accent
#5FE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A131

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

Preview Lab → · Contrast checker → · Palette generator →

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