#A6B671#A6B671

#A6B671 is a light, moderate yellow-green. Relative luminance 0.428; OKLCH L 74.7% C 0.094 H 119.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#A6B671
RGBrgb(166, 182, 113)
HSLhsl(74, 32%, 58%)
HSVhsv(74, 38%, 71%)
CMYKcmyk(8.8%, 0%, 37.9%, 28.6%)
CIE-LABlab(71.39, -16.82, 33.30)
CIE-LCHlch(71.39, 37.31, 116.79°)
OKLaboklab(74.74% -0.046 0.0818)
OKLCHoklch(74.74% 0.094 119.4)
XYZxyz(35.4345, 42.7553, 22.0054)
Luminance0.4275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B671 #8171B6
analogous
#B6A371 #A6B671 #83B671
triadic
#A6B671 #71A6B6 #B671A6
tetradic
#A6B671 #71B6A3 #8171B6 #B67183
square
#A6B671 #71B6A3 #8171B6 #B67183
split-complementary
#A6B671 #7183B6 #A371B6
monochromatic
#65723B #899A4F #A6B671 #BFCB99 #D9E0C2

Accessibility & contrast

On white

2.20
#A6B671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#A6B671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B671
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B671#FFFFFF#000000##000000
##A6B6711.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAF6C
Deuteranopia (green-blind)
#BCAF74
Tritanopia (blue-blind)
#ACAFA5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a6b671;
/* rgb */ color: rgb(166, 182, 113);
/* oklch */ color: oklch(74.7% 0.094 119.4);
Tailwind
colors: {
  custom: {
    50: '#c1cb9a',
    500: '#a6b671',
    950: '#000000',
  },
}
SCSS
$custom: #a6b671;
$custom-light: #c1cb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b671",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 113
  },
  "hsl": {
    "h": 73.913,
    "s": 32.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.09387,
    "h": 119.4
  },
  "luminance": 0.42755
}

Semantic roles & 50–950 ramp

primary
#A6B671
secondary
#BAB4CF
accent
#60C878
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A6B671

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

Preview Lab → · Contrast checker → · Palette generator →

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