#A7AB4E#A7AB4E

#A7AB4E is a light, moderate yellow. Relative luminance 0.379; OKLCH L 71.9% C 0.117 H 111.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A7AB4E
RGBrgb(167, 171, 78)
HSLhsl(63, 37%, 49%)
HSVhsv(63, 54%, 67%)
CMYKcmyk(2.3%, 0%, 54.4%, 32.9%)
CIE-LABlab(67.94, -14.43, 46.65)
CIE-LCHlch(67.94, 48.83, 107.19°)
OKLaboklab(71.86% -0.0423 0.109)
OKLCHoklch(71.86% 0.117 111.2)
XYZxyz(31.8751, 37.8920, 12.8410)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB4E #524EAB
analogous
#AB814E #A7AB4E #79AB4E
triadic
#A7AB4E #4EA7AB #AB4EA7
tetradic
#A7AB4E #4EAB81 #524EAB #AB4E79
square
#A7AB4E #4EAB81 #524EAB #AB4E79
split-complementary
#A7AB4E #4E79AB #814EAB
monochromatic
#555728 #7E813B #A7AB4E #BDC076 #D1D4A0

Accessibility & contrast

On white

2.45
#A7AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#A7AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB4E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB4E#FFFFFF#000000##000000
##A7AB4E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A445
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#B1A296
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ab4e;
/* rgb */ color: rgb(167, 171, 78);
/* oklch */ color: oklch(71.9% 0.117 111.2);
Tailwind
colors: {
  custom: {
    50: '#c3c382',
    500: '#a7ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab4e;
$custom-light: #c3c382;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab4e",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 62.581,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.11689,
    "h": 111.2
  },
  "luminance": 0.37891
}

Semantic roles & 50–950 ramp

primary
#A7AB4E
secondary
#9694C1
accent
#5ACD5F
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A7AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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