#B6A831#B6A831

#B6A831 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.135 H 102.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B6A831
RGBrgb(182, 168, 49)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 73%, 71%)
CMYKcmyk(0%, 7.7%, 73.1%, 28.6%)
CIE-LABlab(68.15, -8.30, 59.64)
CIE-LCHlch(68.15, 60.21, 97.92°)
OKLaboklab(72.26% -0.029 0.1318)
OKLCHoklch(72.26% 0.135 102.4)
XYZxyz(33.8499, 38.1736, 8.4904)
Luminance0.3817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A831 #313FB6
analogous
#B66531 #B6A831 #82B631
triadic
#B6A831 #31B6A8 #A831B6
tetradic
#B6A831 #31B665 #313FB6 #B63182
square
#B6A831 #31B665 #313FB6 #B63182
split-complementary
#B6A831 #3182B6 #6531B6
monochromatic
#564F17 #867B24 #B6A831 #D1C453 #DED484

Accessibility & contrast

On white

2.43
#B6A831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B6A831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A831
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A831#FFFFFF#000000##000000
##B6A8311.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#C49C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a831;
/* rgb */ color: rgb(182, 168, 49);
/* oklch */ color: oklch(72.3% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d0c171',
    500: '#b6a831',
    950: '#000000',
  },
}
SCSS
$custom: #b6a831;
$custom-light: #d0c171;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a831",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 53.684,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72259,
    "c": 0.13492,
    "h": 102.4
  },
  "luminance": 0.38172
}

Semantic roles & 50–950 ramp

primary
#B6A831
secondary
#7C84C7
accent
#57E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A831

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

Preview Lab → · Contrast checker → · Palette generator →

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