#A2AF3A#A2AF3A

#A2AF3A is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.2% C 0.140 H 115.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#A2AF3A
RGBrgb(162, 175, 58)
HSLhsl(67, 50%, 46%)
HSVhsv(67, 67%, 69%)
CMYKcmyk(7.4%, 0%, 66.9%, 31.4%)
CIE-LABlab(68.50, -20.05, 55.96)
CIE-LCHlch(68.50, 59.45, 109.71°)
OKLaboklab(72.15% -0.06 0.1262)
OKLCHoklch(72.15% 0.14 115.4)
XYZxyz(30.9947, 38.6473, 9.8291)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF3A #473AAF
analogous
#AF813A #A2AF3A #67AF3A
triadic
#A2AF3A #3AA2AF #AF3AA2
tetradic
#A2AF3A #3AAF81 #473AAF #AF3A67
square
#A2AF3A #3AAF81 #473AAF #AF3A67
split-complementary
#A2AF3A #3A67AF #813AAF
monochromatic
#4D531C #77812B #A2AF3A #BDC95D #D0D98B

Accessibility & contrast

On white

2.41
#A2AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#A2AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF3A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF3A#FFFFFF#000000##000000
##A2AF3A1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA629
Deuteranopia (green-blind)
#BAA842
Tritanopia (blue-blind)
#ACA597
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af3a;
/* rgb */ color: rgb(162, 175, 58);
/* oklch */ color: oklch(72.2% 0.140 115.4);
Tailwind
colors: {
  custom: {
    50: '#c0c677',
    500: '#a2af3a',
    950: '#000000',
  },
}
SCSS
$custom: #a2af3a;
$custom-light: #c0c677;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af3a",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 66.667,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.13971,
    "h": 115.4
  },
  "luminance": 0.38647
}

Semantic roles & 50–950 ramp

primary
#A2AF3A
secondary
#8982C3
accent
#4EDA5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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