#A7AA1F#A7AA1F

#A7AA1F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.148 H 111.0°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#A7AA1F
RGBrgb(167, 170, 31)
HSLhsl(61, 69%, 39%)
HSVhsv(61, 82%, 67%)
CMYKcmyk(1.8%, 0%, 81.8%, 33.3%)
CIE-LABlab(67.33, -16.63, 64.16)
CIE-LCHlch(67.33, 66.28, 104.53°)
OKLaboklab(71.26% -0.0531 0.1387)
OKLCHoklch(71.26% 0.148 111)
XYZxyz(30.5595, 37.0647, 6.8405)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA1F #221FAA
analogous
#AA681F #A7AA1F #62AA1F
triadic
#A7AA1F #1FA7AA #AA1FA7
tetradic
#A7AA1F #1FAA68 #221FAA #AA1F62
square
#A7AA1F #1FAA68 #221FAA #AA1F62
split-complementary
#A7AA1F #1F62AA #681FAA
monochromatic
#41420C #747616 #A7AA1F #D5D92D #DFE261

Accessibility & contrast

On white

2.50
#A7AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#A7AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA1F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA1F#FFFFFF#000000##000000
##A7AA1F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B9A62D
Tritanopia (blue-blind)
#B39F91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa1f;
/* rgb */ color: rgb(167, 170, 31);
/* oklch */ color: oklch(71.3% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#c5c369',
    500: '#a7aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa1f;
$custom-light: #c5c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa1f",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 61.295,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.71263,
    "c": 0.14847,
    "h": 111
  },
  "luminance": 0.37064
}

Semantic roles & 50–950 ramp

primary
#A7AA1F
secondary
#605EC7
accent
#3CEC40
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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