#A2AA2F#A2AA2F

#A2AA2F is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.142 H 113.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#A2AA2F
RGBrgb(162, 170, 47)
HSLhsl(64, 57%, 43%)
HSVhsv(64, 72%, 67%)
CMYKcmyk(4.7%, 0%, 72.4%, 33.3%)
CIE-LABlab(67.00, -18.14, 58.68)
CIE-LCHlch(67.00, 61.42, 107.18°)
OKLaboklab(70.93% -0.0557 0.1301)
OKLCHoklch(70.93% 0.142 113.2)
XYZxyz(29.7890, 36.6367, 8.1911)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA2F #372FAA
analogous
#AA742F #A2AA2F #65AA2F
triadic
#A2AA2F #2FA2AA #AA2FA2
tetradic
#A2AA2F #2FAA74 #372FAA #AA2F65
square
#A2AA2F #2FAA74 #372FAA #AA2F65
split-complementary
#A2AA2F #2F65AA #742FAA
monochromatic
#474A14 #747A22 #A2AA2F #C4CD49 #D4DA79

Accessibility & contrast

On white

2.52
#A2AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#A2AA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA2F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA2F#FFFFFF#000000##000000
##A2AA2F1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2aa2f;
/* rgb */ color: rgb(162, 170, 47);
/* oklch */ color: oklch(70.9% 0.142 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c370',
    500: '#a2aa2f',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa2f;
$custom-light: #c1c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa2f",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 63.902,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70932,
    "c": 0.14151,
    "h": 113.2
  },
  "luminance": 0.36636
}

Semantic roles & 50–950 ramp

primary
#A2AA2F
secondary
#7872C2
accent
#48E052
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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