#B6A82B#B6A82B

#B6A82B is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.138 H 102.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B6A82B
RGBrgb(182, 168, 43)
HSLhsl(54, 62%, 44%)
HSVhsv(54, 76%, 71%)
CMYKcmyk(0%, 7.7%, 76.4%, 28.6%)
CIE-LABlab(68.11, -8.56, 61.72)
CIE-LCHlch(68.11, 62.31, 97.89°)
OKLaboklab(72.22% -0.0304 0.135)
OKLCHoklch(72.22% 0.138 102.7)
XYZxyz(33.7316, 38.1262, 7.8673)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A82B #2B39B6
analogous
#B6632B #B6A82B #7FB62B
triadic
#B6A82B #2BB6A8 #A82BB6
tetradic
#B6A82B #2BB663 #2B39B6 #B62B7F
square
#B6A82B #2BB663 #2B39B6 #B62B7F
split-complementary
#B6A82B #2B7FB6 #632BB6
monochromatic
#534D14 #847A1F #B6A82B #D4C64A #E0D67B

Accessibility & contrast

On white

2.43
#B6A82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B6A82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A82B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A82B#FFFFFF#000000##000000
##B6A82B1.002.438.628.62
#FFFFFF2.431.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#C49C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a82b;
/* rgb */ color: rgb(182, 168, 43);
/* oklch */ color: oklch(72.2% 0.138 102.7);
Tailwind
colors: {
  custom: {
    50: '#d0c16f',
    500: '#b6a82b',
    950: '#000000',
  },
}
SCSS
$custom: #b6a82b;
$custom-light: #d0c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a82b",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 53.957,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7222,
    "c": 0.13841,
    "h": 102.7
  },
  "luminance": 0.38125
}

Semantic roles & 50–950 ramp

primary
#B6A82B
secondary
#757DC8
accent
#53E543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A82B

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

Preview Lab → · Contrast checker → · Palette generator →

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