#B6A336#B6A336

#B6A336 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.128 H 99.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B6A336
RGBrgb(182, 163, 54)
HSLhsl(51, 54%, 46%)
HSVhsv(51, 70%, 71%)
CMYKcmyk(0%, 10.4%, 70.3%, 28.6%)
CIE-LABlab(66.83, -5.41, 56.42)
CIE-LCHlch(66.83, 56.68, 95.47°)
OKLaboklab(71.22% -0.0203 0.1259)
OKLCHoklch(71.22% 0.128 99.2)
XYZxyz(33.0560, 36.4074, 8.7755)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A336 #3649B6
analogous
#B66336 #B6A336 #89B636
triadic
#B6A336 #36B6A3 #A336B6
tetradic
#B6A336 #36B663 #3649B6 #B63689
square
#B6A336 #36B663 #3649B6 #B63689
split-complementary
#B6A336 #3689B6 #6336B6
monochromatic
#584E1A #877928 #B6A336 #CEBD5B #DCD08A

Accessibility & contrast

On white

2.54
#B6A336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B6A336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A336
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A336#FFFFFF#000000##000000
##B6A3361.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F26
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a336;
/* rgb */ color: rgb(182, 163, 54);
/* oklch */ color: oklch(71.2% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#cfbd74',
    500: '#b6a336',
    950: '#000000',
  },
}
SCSS
$custom: #b6a336;
$custom-light: #cfbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a336",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 51.094,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71223,
    "c": 0.1275,
    "h": 99.2
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#B6A336
secondary
#818CC6
accent
#60DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A336

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

Preview Lab → · Contrast checker → · Palette generator →

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