#A7AB54#A7AB54

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

Color values

HEX#A7AB54
RGBrgb(167, 171, 84)
HSLhsl(63, 34%, 50%)
HSVhsv(63, 51%, 67%)
CMYKcmyk(2.3%, 0%, 50.9%, 32.9%)
CIE-LABlab(68.01, -13.90, 43.83)
CIE-LCHlch(68.01, 45.98, 107.60°)
OKLaboklab(71.94% -0.0402 0.1035)
OKLCHoklch(71.94% 0.111 111.2)
XYZxyz(32.1001, 37.9821, 14.0261)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB54 #5854AB
analogous
#AB8454 #A7AB54 #7BAB54
triadic
#A7AB54 #54A7AB #AB54A7
tetradic
#A7AB54 #54AB84 #5854AB #AB547B
square
#A7AB54 #54AB84 #5854AB #AB547B
split-complementary
#A7AB54 #547BAB #8454AB
monochromatic
#57592C #7F8240 #A7AB54 #BCBF7D #D1D3A6

Accessibility & contrast

On white

2.44
#A7AB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A7AB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB54
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB54#FFFFFF#000000##000000
##A7AB541.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44C
Deuteranopia (green-blind)
#B7A759
Tritanopia (blue-blind)
#B1A297
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ab54;
/* rgb */ color: rgb(167, 171, 84);
/* oklch */ color: oklch(71.9% 0.111 111.2);
Tailwind
colors: {
  custom: {
    50: '#c3c386',
    500: '#a7ab54',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab54;
$custom-light: #c3c386;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab54",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 62.759,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.71937,
    "c": 0.111,
    "h": 111.2
  },
  "luminance": 0.37981
}

Semantic roles & 50–950 ramp

primary
#A7AB54
secondary
#9C9AC1
accent
#5ECA63
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A7AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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