#B6A72E#B6A72E

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

Color values

HEX#B6A72E
RGBrgb(182, 167, 46)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 71%)
CMYKcmyk(0%, 8.2%, 74.7%, 28.6%)
CIE-LABlab(67.86, -7.91, 60.45)
CIE-LCHlch(67.86, 60.96, 97.45°)
OKLaboklab(72.02% -0.0282 0.1329)
OKLCHoklch(72.02% 0.136 102)
XYZxyz(33.6048, 37.7813, 8.1067)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A72E #2E3DB6
analogous
#B6632E #B6A72E #81B62E
triadic
#B6A72E #2EB6A7 #A72EB6
tetradic
#B6A72E #2EB663 #2E3DB6 #B62E81
square
#B6A72E #2EB663 #2E3DB6 #B62E81
split-complementary
#B6A72E #2E81B6 #632EB6
monochromatic
#544D15 #857A22 #B6A72E #D2C44F #DFD480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A72E#FFFFFF#000000##000000
##B6A72E1.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)
#B7A217
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#C49B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a72e;
/* rgb */ color: rgb(182, 167, 46);
/* oklch */ color: oklch(72.0% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#d0c070',
    500: '#b6a72e',
    950: '#000000',
  },
}
SCSS
$custom: #b6a72e;
$custom-light: #d0c070;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a72e",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 53.382,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72023,
    "c": 0.13588,
    "h": 102
  },
  "luminance": 0.3778
}

Semantic roles & 50–950 ramp

primary
#B6A72E
secondary
#7881C8
accent
#56E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A72E

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

Preview Lab → · Contrast checker → · Palette generator →

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