#B6A333#B6A333

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

Color values

HEX#B6A333
RGBrgb(182, 163, 51)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 71%)
CMYKcmyk(0%, 10.4%, 72%, 28.6%)
CIE-LABlab(66.81, -5.56, 57.58)
CIE-LCHlch(66.81, 57.85, 95.51°)
OKLaboklab(71.2% -0.0211 0.1278)
OKLCHoklch(71.2% 0.13 99.4)
XYZxyz(32.9877, 36.3801, 8.4158)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A333 #3346B6
analogous
#B66233 #B6A333 #87B633
triadic
#B6A333 #33B6A3 #A333B6
tetradic
#B6A333 #33B662 #3346B6 #B63387
square
#B6A333 #33B662 #3346B6 #B63387
split-complementary
#B6A333 #3387B6 #6233B6
monochromatic
#564D18 #867826 #B6A333 #D0BE56 #DDD186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A333#FFFFFF#000000##000000
##B6A3331.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)
#B39F21
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#C4978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a333;
/* rgb */ color: rgb(182, 163, 51);
/* oklch */ color: oklch(71.2% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#cfbd72',
    500: '#b6a333',
    950: '#000000',
  },
}
SCSS
$custom: #b6a333;
$custom-light: #cfbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a333",
  "rgb": {
    "r": 182,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 51.298,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.712,
    "c": 0.12951,
    "h": 99.4
  },
  "luminance": 0.36378
}

Semantic roles & 50–950 ramp

primary
#B6A333
secondary
#7E89C7
accent
#5EE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A333

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

Preview Lab → · Contrast checker → · Palette generator →

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