#B6A52B#B6A52B

#B6A52B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.136 H 101.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B6A52B
RGBrgb(182, 165, 43)
HSLhsl(53, 62%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 9.3%, 76.4%, 28.6%)
CIE-LABlab(67.30, -6.98, 60.97)
CIE-LCHlch(67.30, 61.37, 96.53°)
OKLaboklab(71.57% -0.0259 0.1334)
OKLCHoklch(71.57% 0.136 101)
XYZxyz(33.1842, 37.0313, 7.6849)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A52B #2B3CB6
analogous
#B6602B #B6A52B #82B62B
triadic
#B6A52B #2BB6A5 #A52BB6
tetradic
#B6A52B #2BB660 #2B3CB6 #B62B82
square
#B6A52B #2BB660 #2B3CB6 #B62B82
split-complementary
#B6A52B #2B82B6 #602BB6
monochromatic
#534B14 #84781F #B6A52B #D4C34A #E0D47B

Accessibility & contrast

On white

2.50
#B6A52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B6A52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A52B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A52B#FFFFFF#000000##000000
##B6A52B1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A011
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a52b;
/* rgb */ color: rgb(182, 165, 43);
/* oklch */ color: oklch(71.6% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#d0bf6e',
    500: '#b6a52b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a52b;
$custom-light: #d0bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a52b",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 52.662,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.13593,
    "h": 101
  },
  "luminance": 0.3703
}

Semantic roles & 50–950 ramp

primary
#B6A52B
secondary
#757FC8
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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