#B6AA3F#B6AA3F

#B6AA3F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.127 H 102.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B6AA3F
RGBrgb(182, 170, 63)
HSLhsl(54, 49%, 48%)
HSVhsv(54, 65%, 71%)
CMYKcmyk(0%, 6.6%, 65.4%, 28.6%)
CIE-LABlab(68.79, -8.59, 54.71)
CIE-LCHlch(68.79, 55.38, 98.92°)
OKLaboklab(72.8% -0.0283 0.1238)
OKLCHoklch(72.8% 0.127 102.9)
XYZxyz(34.5647, 39.0548, 10.4193)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA3F #3F4BB6
analogous
#B66F3F #B6AA3F #86B63F
triadic
#B6AA3F #3FB6AA #AA3FB6
tetradic
#B6AA3F #3FB66F #3F4BB6 #B63F86
square
#B6AA3F #3FB66F #3F4BB6 #B63F86
split-complementary
#B6AA3F #3F86B6 #6F3FB6
monochromatic
#5B5520 #89802F #B6AA3F #CBC168 #DAD395

Accessibility & contrast

On white

2.38
#B6AA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B6AA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA3F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA3F#FFFFFF#000000##000000
##B6AA3F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A531
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#C39F94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6aa3f;
/* rgb */ color: rgb(182, 170, 63);
/* oklch */ color: oklch(72.8% 0.127 102.9);
Tailwind
colors: {
  custom: {
    50: '#cfc379',
    500: '#b6aa3f',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa3f;
$custom-light: #cfc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa3f",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 63
  },
  "hsl": {
    "h": 53.95,
    "s": 48.571,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72801,
    "c": 0.12699,
    "h": 102.9
  },
  "luminance": 0.39053
}

Semantic roles & 50–950 ramp

primary
#B6AA3F
secondary
#8B91C6
accent
#5DD850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B6AA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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