#B6A82D#B6A82D

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

Color values

HEX#B6A82D
RGBrgb(182, 168, 45)
HSLhsl(54, 60%, 45%)
HSVhsv(54, 75%, 71%)
CMYKcmyk(0%, 7.7%, 75.3%, 28.6%)
CIE-LABlab(68.12, -8.47, 61.05)
CIE-LCHlch(68.12, 61.63, 97.90°)
OKLaboklab(72.23% -0.0299 0.134)
OKLCHoklch(72.23% 0.137 102.6)
XYZxyz(33.7692, 38.1413, 8.0654)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A82D #2D3BB6
analogous
#B6642D #B6A82D #7FB62D
triadic
#B6A82D #2DB6A8 #A82DB6
tetradic
#B6A82D #2DB664 #2D3BB6 #B62D7F
square
#B6A82D #2DB664 #2D3BB6 #B62D7F
split-complementary
#B6A82D #2D7FB6 #642DB6
monochromatic
#544D15 #857B21 #B6A82D #D3C54D #DFD57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A82D#FFFFFF#000000##000000
##B6A82D1.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)
#B8A314
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#C49C90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a82d;
/* rgb */ color: rgb(182, 168, 45);
/* oklch */ color: oklch(72.2% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#d0c16f',
    500: '#b6a82d',
    950: '#000000',
  },
}
SCSS
$custom: #b6a82d;
$custom-light: #d0c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a82d",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 53.869,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72232,
    "c": 0.13729,
    "h": 102.6
  },
  "luminance": 0.3814
}

Semantic roles & 50–950 ramp

primary
#B6A82D
secondary
#777FC8
accent
#55E344
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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