#A7AA31#A7AA31

#A7AA31 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.139 H 110.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A7AA31
RGBrgb(167, 170, 49)
HSLhsl(61, 55%, 43%)
HSVhsv(61, 71%, 67%)
CMYKcmyk(1.8%, 0%, 71.2%, 33.3%)
CIE-LABlab(67.42, -15.88, 58.49)
CIE-LCHlch(67.42, 60.61, 105.19°)
OKLaboklab(71.37% -0.0495 0.1299)
OKLCHoklch(71.37% 0.139 110.9)
XYZxyz(30.8665, 37.1875, 8.4571)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA31 #3431AA
analogous
#AA7131 #A7AA31 #6AAA31
triadic
#A7AA31 #31A7AA #AA31A7
tetradic
#A7AA31 #31AA71 #3431AA #AA316A
square
#A7AA31 #31AA71 #3431AA #AA316A
split-complementary
#A7AA31 #316AAA #7131AA
monochromatic
#4A4B16 #787A23 #A7AA31 #C8CC4D #D7D97C

Accessibility & contrast

On white

2.49
#A7AA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#A7AA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA31
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA31#FFFFFF#000000##000000
##A7AA311.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa31;
/* rgb */ color: rgb(167, 170, 49);
/* oklch */ color: oklch(71.4% 0.139 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c371',
    500: '#a7aa31',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa31;
$custom-light: #c4c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa31",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 61.488,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.13897,
    "h": 110.9
  },
  "luminance": 0.37187
}

Semantic roles & 50–950 ramp

primary
#A7AA31
secondary
#7775C2
accent
#49DF4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AA31

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

Preview Lab → · Contrast checker → · Palette generator →

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