#A2AF4A#A2AF4A

#A2AF4A is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.3% C 0.127 H 115.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#A2AF4A
RGBrgb(162, 175, 74)
HSLhsl(68, 41%, 49%)
HSVhsv(68, 58%, 69%)
CMYKcmyk(7.4%, 0%, 57.7%, 31.4%)
CIE-LABlab(68.63, -18.90, 49.20)
CIE-LCHlch(68.63, 52.70, 111.02°)
OKLaboklab(72.31% -0.0551 0.1141)
OKLCHoklch(72.31% 0.127 115.8)
XYZxyz(31.4669, 38.8362, 12.3157)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF4A #574AAF
analogous
#AF8A4A #A2AF4A #70AF4A
triadic
#A2AF4A #4AA2AF #AF4AA2
tetradic
#A2AF4A #4AAF8A #574AAF #AF4A70
square
#A2AF4A #4AAF8A #574AAF #AF4A70
split-complementary
#A2AF4A #4A70AF #8A4AAF
monochromatic
#525926 #7A8438 #A2AF4A #B9C473 #CFD69E

Accessibility & contrast

On white

2.40
#A2AF4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#A2AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF4A
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF4A#FFFFFF#000000##000000
##A2AF4A1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73F
Deuteranopia (green-blind)
#B9A850
Tritanopia (blue-blind)
#ABA699
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af4a;
/* rgb */ color: rgb(162, 175, 74);
/* oklch */ color: oklch(72.3% 0.127 115.8);
Tailwind
colors: {
  custom: {
    50: '#c0c680',
    500: '#a2af4a',
    950: '#000000',
  },
}
SCSS
$custom: #a2af4a;
$custom-light: #c0c680;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af4a",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 67.723,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72306,
    "c": 0.12667,
    "h": 115.8
  },
  "luminance": 0.38836
}

Semantic roles & 50–950 ramp

primary
#A2AF4A
secondary
#9992C2
accent
#57D067
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130A
muted
#81827C

Preview Lab

Preview with #A2AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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