#B6A72B#B6A72B

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

Color values

HEX#B6A72B
RGBrgb(182, 167, 43)
HSLhsl(54, 62%, 44%)
HSVhsv(54, 76%, 71%)
CMYKcmyk(0%, 8.2%, 76.4%, 28.6%)
CIE-LABlab(67.84, -8.03, 61.47)
CIE-LCHlch(67.84, 61.99, 97.45°)
OKLaboklab(72% -0.0289 0.1345)
OKLCHoklch(72% 0.138 102.1)
XYZxyz(33.5477, 37.7584, 7.8060)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A72B #2B3AB6
analogous
#B6622B #B6A72B #80B62B
triadic
#B6A72B #2BB6A7 #A72BB6
tetradic
#B6A72B #2BB662 #2B3AB6 #B62B80
square
#B6A72B #2BB662 #2B3AB6 #B62B80
split-complementary
#B6A72B #2B80B6 #622BB6
monochromatic
#534C14 #847A1F #B6A72B #D4C54A #E0D57B

Accessibility & contrast

On white

2.46
#B6A72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#B6A72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A72B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A72B#FFFFFF#000000##000000
##B6A72B1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A210
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#C49B8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a72b;
/* rgb */ color: rgb(182, 167, 43);
/* oklch */ color: oklch(72.0% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#d0c06e',
    500: '#b6a72b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a72b;
$custom-light: #d0c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a72b",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 53.525,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72004,
    "c": 0.13758,
    "h": 102.1
  },
  "luminance": 0.37757
}

Semantic roles & 50–950 ramp

primary
#B6A72B
secondary
#757EC8
accent
#54E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A72B

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

Preview Lab → · Contrast checker → · Palette generator →

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