#A7AA40#A7AA40

#A7AA40 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.5% C 0.128 H 110.8°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A7AA40
RGBrgb(167, 170, 64)
HSLhsl(62, 45%, 46%)
HSVhsv(62, 62%, 67%)
CMYKcmyk(1.8%, 0%, 62.4%, 33.3%)
CIE-LABlab(67.53, -14.99, 52.56)
CIE-LCHlch(67.53, 54.66, 105.91°)
OKLaboklab(71.49% -0.0454 0.1198)
OKLCHoklch(71.49% 0.128 110.8)
XYZxyz(31.2374, 37.3359, 10.4105)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA40 #4340AA
analogous
#AA7840 #A7AA40 #72AA40
triadic
#A7AA40 #40A7AA #AA40A7
tetradic
#A7AA40 #40AA78 #4340AA #AA4072
square
#A7AA40 #40AA78 #4340AA #AA4072
split-complementary
#A7AA40 #4072AA #7840AA
monochromatic
#50511F #7B7E2F #A7AA40 #C1C463 #D3D58F

Accessibility & contrast

On white

2.48
#A7AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A7AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA40
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA40#FFFFFF#000000##000000
##A7AA401.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#B2A094
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa40;
/* rgb */ color: rgb(167, 170, 64);
/* oklch */ color: oklch(71.5% 0.128 110.8);
Tailwind
colors: {
  custom: {
    50: '#c4c37a',
    500: '#a7aa40',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa40;
$custom-light: #c4c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa40",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 61.698,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.12811,
    "h": 110.8
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#A7AA40
secondary
#8786C0
accent
#53D557
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A7AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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