#A2AF41#A2AF41

#A2AF41 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.2% C 0.134 H 115.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#A2AF41
RGBrgb(162, 175, 65)
HSLhsl(67, 46%, 47%)
HSVhsv(67, 63%, 69%)
CMYKcmyk(7.4%, 0%, 62.9%, 31.4%)
CIE-LABlab(68.55, -19.58, 53.11)
CIE-LCHlch(68.55, 56.60, 110.24°)
OKLaboklab(72.21% -0.058 0.1212)
OKLCHoklch(72.21% 0.134 115.6)
XYZxyz(31.1851, 38.7234, 10.8316)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF41 #4E41AF
analogous
#AF8541 #A2AF41 #6BAF41
triadic
#A2AF41 #41A2AF #AF41A2
tetradic
#A2AF41 #41AF85 #4E41AF #AF416B
square
#A2AF41 #41AF85 #4E41AF #AF416B
split-complementary
#A2AF41 #416BAF #8541AF
monochromatic
#4F5620 #798230 #A2AF41 #BBC667 #CFD793

Accessibility & contrast

On white

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

On black

8.74
#A2AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF41
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF41#FFFFFF#000000##000000
##A2AF411.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#ACA598
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af41;
/* rgb */ color: rgb(162, 175, 65);
/* oklch */ color: oklch(72.2% 0.134 115.6);
Tailwind
colors: {
  custom: {
    50: '#c0c67b',
    500: '#a2af41',
    950: '#000000',
  },
}
SCSS
$custom: #a2af41;
$custom-light: #c0c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af41",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 67.091,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72213,
    "c": 0.13434,
    "h": 115.6
  },
  "luminance": 0.38723
}

Semantic roles & 50–950 ramp

primary
#A2AF41
secondary
#9089C2
accent
#52D562
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A2AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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