#B6A931#B6A931

#B6A931 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.136 H 103.0°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B6A931
RGBrgb(182, 169, 49)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 73%, 71%)
CMYKcmyk(0%, 7.1%, 73.1%, 28.6%)
CIE-LABlab(68.42, -8.82, 59.90)
CIE-LCHlch(68.42, 60.55, 98.38°)
OKLaboklab(72.47% -0.0305 0.1323)
OKLCHoklch(72.47% 0.136 103)
XYZxyz(34.0352, 38.5442, 8.5521)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A931 #313EB6
analogous
#B66631 #B6A931 #81B631
triadic
#B6A931 #31B6A9 #A931B6
tetradic
#B6A931 #31B666 #313EB6 #B63181
square
#B6A931 #31B666 #313EB6 #B63181
split-complementary
#B6A931 #3181B6 #6631B6
monochromatic
#564F17 #867C24 #B6A931 #D1C553 #DED584

Accessibility & contrast

On white

2.41
#B6A931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B6A931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A931
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A931#FFFFFF#000000##000000
##B6A9311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A31C
Deuteranopia (green-blind)
#BDA939
Tritanopia (blue-blind)
#C49D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b6a931;
/* rgb */ color: rgb(182, 169, 49);
/* oklch */ color: oklch(72.5% 0.136 103.0);
Tailwind
colors: {
  custom: {
    50: '#d0c272',
    500: '#b6a931',
    950: '#000000',
  },
}
SCSS
$custom: #b6a931;
$custom-light: #d0c272;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a931",
  "rgb": {
    "r": 182,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 54.135,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72474,
    "c": 0.13578,
    "h": 103
  },
  "luminance": 0.38543
}

Semantic roles & 50–950 ramp

primary
#B6A931
secondary
#7C83C7
accent
#56E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A931

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

Preview Lab → · Contrast checker → · Palette generator →

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