#A4AA2F#A4AA2F

#A4AA2F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.141 H 112.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#A4AA2F
RGBrgb(164, 170, 47)
HSLhsl(63, 57%, 43%)
HSVhsv(63, 72%, 67%)
CMYKcmyk(3.5%, 0%, 72.4%, 33.3%)
CIE-LABlab(67.16, -17.28, 58.89)
CIE-LCHlch(67.16, 61.37, 106.35°)
OKLaboklab(71.1% -0.0534 0.1305)
OKLCHoklch(71.1% 0.141 112.3)
XYZxyz(30.1986, 36.8479, 8.2103)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4AA2F #352FAA
analogous
#AA732F #A4AA2F #66AA2F
triadic
#A4AA2F #2FA4AA #AA2FA4
tetradic
#A4AA2F #2FAA73 #352FAA #AA2F66
square
#A4AA2F #2FAA73 #352FAA #AA2F66
split-complementary
#A4AA2F #2F66AA #732FAA
monochromatic
#474A14 #767A22 #A4AA2F #C6CD49 #D5DA79

Accessibility & contrast

On white

2.51
#A4AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#A4AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4AA2F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4AA2F#FFFFFF#000000##000000
##A4AA2F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#AFA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a4aa2f;
/* rgb */ color: rgb(164, 170, 47);
/* oklch */ color: oklch(71.1% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#c2c370',
    500: '#a4aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #a4aa2f;
$custom-light: #c2c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a4aa2f",
  "rgb": {
    "r": 164,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 62.927,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71099,
    "c": 0.14097,
    "h": 112.3
  },
  "luminance": 0.36847
}

Semantic roles & 50–950 ramp

primary
#A4AA2F
secondary
#7672C2
accent
#48E04F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A4AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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