#B6A12C#B6A12C

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

Color values

HEX#B6A12C
RGBrgb(182, 161, 44)
HSLhsl(51, 61%, 44%)
HSVhsv(51, 76%, 71%)
CMYKcmyk(0%, 11.5%, 75.8%, 28.6%)
CIE-LABlab(66.23, -4.82, 59.62)
CIE-LCHlch(66.23, 59.81, 94.62°)
OKLaboklab(70.72% -0.0197 0.1308)
OKLCHoklch(70.72% 0.132 98.6)
XYZxyz(32.4925, 35.6183, 7.5459)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A12C #2C41B6
analogous
#B65C2C #B6A12C #86B62C
triadic
#B6A12C #2CB6A1 #A12CB6
tetradic
#B6A12C #2CB65C #2C41B6 #B62C86
square
#B6A12C #2CB65C #2C41B6 #B62C86
split-complementary
#B6A12C #2C86B6 #5C2CB6
monochromatic
#534A14 #857520 #B6A12C #D4BF4C #E0D17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A12C#FFFFFF#000000##000000
##B6A12C1.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)
#B19D15
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#C5958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a12c;
/* rgb */ color: rgb(182, 161, 44);
/* oklch */ color: oklch(70.7% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#d0bc6e',
    500: '#b6a12c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a12c;
$custom-light: #d0bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a12c",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 50.87,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.13224,
    "h": 98.6
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

primary
#B6A12C
secondary
#7682C8
accent
#5CE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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