#A7AA25#A7AA25

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

Color values

HEX#A7AA25
RGBrgb(167, 170, 37)
HSLhsl(61, 64%, 41%)
HSVhsv(61, 78%, 67%)
CMYKcmyk(1.8%, 0%, 78.2%, 33.3%)
CIE-LABlab(67.35, -16.41, 62.47)
CIE-LCHlch(67.35, 64.59, 104.72°)
OKLaboklab(71.29% -0.0521 0.1361)
OKLCHoklch(71.29% 0.146 110.9)
XYZxyz(30.6461, 37.0994, 7.2965)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA25 #2825AA
analogous
#AA6A25 #A7AA25 #65AA25
triadic
#A7AA25 #25A7AA #AA25A7
tetradic
#A7AA25 #25AA6A #2825AA #AA2565
square
#A7AA25 #25AA6A #2825AA #AA2565
split-complementary
#A7AA25 #2565AA #6A25AA
monochromatic
#44450F #76781A #A7AA25 #D0D438 #DCDF6B

Accessibility & contrast

On white

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

On black

8.42
#A7AA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA25
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA25#FFFFFF#000000##000000
##A7AA251.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7aa25;
/* rgb */ color: rgb(167, 170, 37);
/* oklch */ color: oklch(71.3% 0.146 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36c',
    500: '#a7aa25',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa25;
$custom-light: #c5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa25",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 37
  },
  "hsl": {
    "h": 61.353,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71292,
    "c": 0.14575,
    "h": 110.9
  },
  "luminance": 0.37099
}

Semantic roles & 50–950 ramp

primary
#A7AA25
secondary
#6866C5
accent
#41E744
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AA25

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

Preview Lab → · Contrast checker → · Palette generator →

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