#B6A82C#B6A82C

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

Color values

HEX#B6A82C
RGBrgb(182, 168, 44)
HSLhsl(54, 61%, 44%)
HSVhsv(54, 76%, 71%)
CMYKcmyk(0%, 7.7%, 75.8%, 28.6%)
CIE-LABlab(68.12, -8.52, 61.39)
CIE-LCHlch(68.12, 61.98, 97.90°)
OKLaboklab(72.23% -0.0301 0.1345)
OKLCHoklch(72.23% 0.138 102.6)
XYZxyz(33.7502, 38.1337, 7.9652)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A82C #2C3AB6
analogous
#B6632C #B6A82C #7FB62C
triadic
#B6A82C #2CB6A8 #A82CB6
tetradic
#B6A82C #2CB663 #2C3AB6 #B62C7F
square
#B6A82C #2CB663 #2C3AB6 #B62C7F
split-complementary
#B6A82C #2C7FB6 #632CB6
monochromatic
#534D14 #857B20 #B6A82C #D4C64C #E0D67D

Accessibility & contrast

On white

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

On black

8.63
#B6A82C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A82C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A82C#FFFFFF#000000##000000
##B6A82C1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6a82c;
/* rgb */ color: rgb(182, 168, 44);
/* oklch */ color: oklch(72.2% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d0c16f',
    500: '#b6a82c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a82c;
$custom-light: #d0c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a82c",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 53.913,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.13786,
    "h": 102.6
  },
  "luminance": 0.38132
}

Semantic roles & 50–950 ramp

primary
#B6A82C
secondary
#767EC8
accent
#54E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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