#B6A331#B6A331

#B6A331 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.131 H 99.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B6A331
RGBrgb(182, 163, 49)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 73%, 71%)
CMYKcmyk(0%, 10.4%, 73.1%, 28.6%)
CIE-LABlab(66.80, -5.66, 58.33)
CIE-LCHlch(66.80, 58.61, 95.54°)
OKLaboklab(71.19% -0.0216 0.129)
OKLCHoklch(71.19% 0.131 99.5)
XYZxyz(32.9445, 36.3628, 8.1886)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A331 #3144B6
analogous
#B66131 #B6A331 #86B631
triadic
#B6A331 #31B6A3 #A331B6
tetradic
#B6A331 #31B661 #3144B6 #B63186
square
#B6A331 #31B661 #3144B6 #B63186
split-complementary
#B6A331 #3186B6 #6131B6
monochromatic
#564D17 #867824 #B6A331 #D1BF53 #DED184

Accessibility & contrast

On white

2.54
#B6A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B6A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A331
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A331#FFFFFF#000000##000000
##B6A3311.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1E
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a331;
/* rgb */ color: rgb(182, 163, 49);
/* oklch */ color: oklch(71.2% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#d0bd71',
    500: '#b6a331',
    950: '#000000',
  },
}
SCSS
$custom: #b6a331;
$custom-light: #d0bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a331",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 51.429,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.13078,
    "h": 99.5
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#B6A331
secondary
#7C86C7
accent
#5DE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A331

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

Preview Lab → · Contrast checker → · Palette generator →

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