#B6A040#B6A040

#B6A040 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.118 H 96.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#B6A040
RGBrgb(182, 160, 64)
HSLhsl(49, 48%, 48%)
HSVhsv(49, 65%, 71%)
CMYKcmyk(0%, 12.1%, 64.8%, 28.6%)
CIE-LABlab(66.10, -3.23, 51.42)
CIE-LCHlch(66.10, 51.53, 93.59°)
OKLaboklab(70.67% -0.0129 0.117)
OKLCHoklch(70.67% 0.118 96.3)
XYZxyz(32.7891, 35.4585, 9.9666)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A040 #4056B6
analogous
#B66540 #B6A040 #91B640
triadic
#B6A040 #40B6A0 #A040B6
tetradic
#B6A040 #40B665 #4056B6 #B64091
square
#B6A040 #40B665 #4056B6 #B64091
split-complementary
#B6A040 #4091B6 #6540B6
monochromatic
#5B5020 #897830 #B6A040 #CAB869 #DACD96

Accessibility & contrast

On white

2.60
#B6A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#B6A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A040
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A040#FFFFFF#000000##000000
##B6A0401.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D35
Deuteranopia (green-blind)
#B5A445
Tritanopia (blue-blind)
#C4948C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a040;
/* rgb */ color: rgb(182, 160, 64);
/* oklch */ color: oklch(70.7% 0.118 96.3);
Tailwind
colors: {
  custom: {
    50: '#cfbb79',
    500: '#b6a040',
    950: '#000000',
  },
}
SCSS
$custom: #b6a040;
$custom-light: #cfbb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a040",
  "rgb": {
    "r": 182,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 48.814,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.11768,
    "h": 96.3
  },
  "luminance": 0.35457
}

Semantic roles & 50–950 ramp

primary
#B6A040
secondary
#8C97C6
accent
#69D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B6A040

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

Preview Lab → · Contrast checker → · Palette generator →

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