#B6A731#B6A731

#B6A731 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.134 H 101.9°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B6A731
RGBrgb(182, 167, 49)
HSLhsl(53, 58%, 45%)
HSVhsv(53, 73%, 71%)
CMYKcmyk(0%, 8.2%, 73.1%, 28.6%)
CIE-LABlab(67.88, -7.77, 59.38)
CIE-LCHlch(67.88, 59.88, 97.45°)
OKLaboklab(72.04% -0.0275 0.1312)
OKLCHoklch(72.04% 0.134 101.9)
XYZxyz(33.6660, 37.8058, 8.4290)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A731 #3140B6
analogous
#B66431 #B6A731 #82B631
triadic
#B6A731 #31B6A7 #A731B6
tetradic
#B6A731 #31B664 #3140B6 #B63182
square
#B6A731 #31B664 #3140B6 #B63182
split-complementary
#B6A731 #3182B6 #6431B6
monochromatic
#564F17 #867B24 #B6A731 #D1C353 #DED484

Accessibility & contrast

On white

2.45
#B6A731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B6A731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A731
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A731#FFFFFF#000000##000000
##B6A7311.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#C49B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a731;
/* rgb */ color: rgb(182, 167, 49);
/* oklch */ color: oklch(72.0% 0.134 101.9);
Tailwind
colors: {
  custom: {
    50: '#d0c071',
    500: '#b6a731',
    950: '#000000',
  },
}
SCSS
$custom: #b6a731;
$custom-light: #d0c071;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a731",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 53.233,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.13407,
    "h": 101.9
  },
  "luminance": 0.37804
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B6A731

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

Preview Lab → · Contrast checker → · Palette generator →

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