#B6A82F#B6A82F

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

Color values

HEX#B6A82F
RGBrgb(182, 168, 47)
HSLhsl(54, 59%, 45%)
HSVhsv(54, 74%, 71%)
CMYKcmyk(0%, 7.7%, 74.2%, 28.6%)
CIE-LABlab(68.14, -8.39, 60.35)
CIE-LCHlch(68.14, 60.93, 97.91°)
OKLaboklab(72.25% -0.0295 0.1329)
OKLCHoklch(72.25% 0.136 102.5)
XYZxyz(33.8087, 38.1571, 8.2730)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A82F #2F3DB6
analogous
#B6652F #B6A82F #80B62F
triadic
#B6A82F #2FB6A8 #A82FB6
tetradic
#B6A82F #2FB665 #2F3DB6 #B62F80
square
#B6A82F #2FB665 #2F3DB6 #B62F80
split-complementary
#B6A82F #2F80B6 #652FB6
monochromatic
#554E16 #857B22 #B6A82F #D2C450 #DED581

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A82F#FFFFFF#000000##000000
##B6A82F1.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)
#B8A318
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C49C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a82f;
/* rgb */ color: rgb(182, 168, 47);
/* oklch */ color: oklch(72.2% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#d0c170',
    500: '#b6a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b6a82f;
$custom-light: #d0c170;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a82f",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 53.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.13613,
    "h": 102.5
  },
  "luminance": 0.38156
}

Semantic roles & 50–950 ramp

primary
#B6A82F
secondary
#7981C7
accent
#56E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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