#A7AA27#A7AA27

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

Color values

HEX#A7AA27
RGBrgb(167, 170, 39)
HSLhsl(61, 63%, 41%)
HSVhsv(61, 77%, 67%)
CMYKcmyk(1.8%, 0%, 77.1%, 33.3%)
CIE-LABlab(67.36, -16.34, 61.86)
CIE-LCHlch(67.36, 63.99, 104.79°)
OKLaboklab(71.3% -0.0517 0.1352)
OKLCHoklch(71.3% 0.145 110.9)
XYZxyz(30.6784, 37.1123, 7.4664)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA27 #2A27AA
analogous
#AA6B27 #A7AA27 #65AA27
triadic
#A7AA27 #27A7AA #AA27A7
tetradic
#A7AA27 #27AA6B #2A27AA #AA2765
square
#A7AA27 #27AA6B #2A27AA #AA2765
split-complementary
#A7AA27 #2765AA #6B27AA
monochromatic
#454610 #76781C #A7AA27 #CFD23C #DBDE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AA27#FFFFFF#000000##000000
##A7AA271.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)
#B8A202
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa27;
/* rgb */ color: rgb(167, 170, 39);
/* oklch */ color: oklch(71.3% 0.145 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36d',
    500: '#a7aa27',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa27;
$custom-light: #c5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa27",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 61.374,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71303,
    "c": 0.14474,
    "h": 110.9
  },
  "luminance": 0.37111
}

Semantic roles & 50–950 ramp

primary
#A7AA27
secondary
#6B69C4
accent
#42E646
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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