#A7AB32#A7AB32

#A7AB32 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.139 H 111.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#A7AB32
RGBrgb(167, 171, 50)
HSLhsl(62, 55%, 43%)
HSVhsv(62, 71%, 67%)
CMYKcmyk(2.3%, 0%, 70.8%, 32.9%)
CIE-LABlab(67.70, -16.34, 58.40)
CIE-LCHlch(67.70, 60.64, 105.63°)
OKLaboklab(71.6% -0.0507 0.1299)
OKLCHoklch(71.6% 0.139 111.3)
XYZxyz(31.0760, 37.5724, 8.6322)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB32 #3632AB
analogous
#AB7232 #A7AB32 #6BAB32
triadic
#A7AB32 #32A7AB #AB32A7
tetradic
#A7AB32 #32AB72 #3632AB #AB326B
square
#A7AB32 #32AB72 #3632AB #AB326B
split-complementary
#A7AB32 #326BAB #7232AB
monochromatic
#4B4C16 #797C24 #A7AB32 #C7CB4F #D6D97E

Accessibility & contrast

On white

2.47
#A7AB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#A7AB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB32
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB32#FFFFFF#000000##000000
##A7AB321.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab32;
/* rgb */ color: rgb(167, 171, 50);
/* oklch */ color: oklch(71.6% 0.139 111.3);
Tailwind
colors: {
  custom: {
    50: '#c4c372',
    500: '#a7ab32',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab32;
$custom-light: #c4c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab32",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 50
  },
  "hsl": {
    "h": 61.983,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71597,
    "c": 0.13939,
    "h": 111.3
  },
  "luminance": 0.37572
}

Semantic roles & 50–950 ramp

primary
#A7AB32
secondary
#7977C2
accent
#4ADE4F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB32

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

Preview Lab → · Contrast checker → · Palette generator →

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