#A2AF50#A2AF50

#A2AF50 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.121 H 116.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A2AF50
RGBrgb(162, 175, 80)
HSLhsl(68, 37%, 50%)
HSVhsv(68, 54%, 69%)
CMYKcmyk(7.4%, 0%, 54.3%, 31.4%)
CIE-LABlab(68.69, -18.39, 46.46)
CIE-LCHlch(68.69, 49.97, 111.60°)
OKLaboklab(72.38% -0.0531 0.1089)
OKLCHoklch(72.38% 0.121 116)
XYZxyz(31.6787, 38.9209, 13.4315)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF50 #5D50AF
analogous
#AF8D50 #A2AF50 #72AF50
triadic
#A2AF50 #50A2AF #AF50A2
tetradic
#A2AF50 #50AF8D #5D50AF #AF5072
square
#A2AF50 #50AF8D #5D50AF #AF5072
split-complementary
#A2AF50 #5072AF #8D50AF
monochromatic
#545B2A #7B853D #A2AF50 #B8C27A #CFD5A4

Accessibility & contrast

On white

2.39
#A2AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A2AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF50
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF50#FFFFFF#000000##000000
##A2AF501.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA747
Deuteranopia (green-blind)
#B9A855
Tritanopia (blue-blind)
#ABA69A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2af50;
/* rgb */ color: rgb(162, 175, 80);
/* oklch */ color: oklch(72.4% 0.121 116.0);
Tailwind
colors: {
  custom: {
    50: '#bfc684',
    500: '#a2af50',
    950: '#000000',
  },
}
SCSS
$custom: #a2af50;
$custom-light: #bfc684;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af50",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 68.211,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.72375,
    "c": 0.12109,
    "h": 116
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#A2AF50
secondary
#9E98C3
accent
#5BCD6A
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #A2AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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