#B6AA31#B6AA31

#B6AA31 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.137 H 103.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B6AA31
RGBrgb(182, 170, 49)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 71%)
CMYKcmyk(0%, 6.6%, 73.1%, 28.6%)
CIE-LABlab(68.69, -9.34, 60.16)
CIE-LCHlch(68.69, 60.88, 98.83°)
OKLaboklab(72.69% -0.032 0.1329)
OKLCHoklch(72.69% 0.137 103.5)
XYZxyz(34.2220, 38.9177, 8.6144)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA31 #313DB6
analogous
#B66731 #B6AA31 #80B631
triadic
#B6AA31 #31B6AA #AA31B6
tetradic
#B6AA31 #31B667 #313DB6 #B63180
square
#B6AA31 #31B667 #313DB6 #B63180
split-complementary
#B6AA31 #3180B6 #6731B6
monochromatic
#565017 #867D24 #B6AA31 #D1C553 #DED684

Accessibility & contrast

On white

2.39
#B6AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B6AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA31
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA31#FFFFFF#000000##000000
##B6AA311.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41B
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#C49E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6aa31;
/* rgb */ color: rgb(182, 170, 49);
/* oklch */ color: oklch(72.7% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#d0c372',
    500: '#b6aa31',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa31;
$custom-light: #d0c372;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa31",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 54.586,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7269,
    "c": 0.13667,
    "h": 103.5
  },
  "luminance": 0.38916
}

Semantic roles & 50–950 ramp

primary
#B6AA31
secondary
#7C82C7
accent
#55E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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