#B6A12A#B6A12A

#B6A12A is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.133 H 98.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B6A12A
RGBrgb(182, 161, 42)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 71%)
CMYKcmyk(0%, 11.5%, 76.9%, 28.6%)
CIE-LABlab(66.22, -4.90, 60.31)
CIE-LCHlch(66.22, 60.51, 94.64°)
OKLaboklab(70.71% -0.0201 0.1318)
OKLCHoklch(70.71% 0.133 98.7)
XYZxyz(32.4558, 35.6036, 7.3527)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A12A #2A3FB6
analogous
#B65B2A #B6A12A #85B62A
triadic
#B6A12A #2AB6A1 #A12AB6
tetradic
#B6A12A #2AB65B #2A3FB6 #B62A85
square
#B6A12A #2AB65B #2A3FB6 #B62A85
split-complementary
#B6A12A #2A85B6 #5B2AB6
monochromatic
#534913 #84751F #B6A12A #D5C048 #E0D17A

Accessibility & contrast

On white

2.59
#B6A12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B6A12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A12A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A12A#FFFFFF#000000##000000
##B6A12A1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D11
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#C5958A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a12a;
/* rgb */ color: rgb(182, 161, 42);
/* oklch */ color: oklch(70.7% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#d0bc6d',
    500: '#b6a12a',
    950: '#000000',
  },
}
SCSS
$custom: #b6a12a;
$custom-light: #d0bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a12a",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 51,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70712,
    "c": 0.13336,
    "h": 98.7
  },
  "luminance": 0.35602
}

Semantic roles & 50–950 ramp

primary
#B6A12A
secondary
#7380C8
accent
#5BE642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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