#A2AE2F#A2AE2F

#A2AE2F is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.146 H 114.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A2AE2F
RGBrgb(162, 174, 47)
HSLhsl(66, 57%, 43%)
HSVhsv(66, 73%, 68%)
CMYKcmyk(6.9%, 0%, 73%, 31.8%)
CIE-LABlab(68.14, -20.16, 59.77)
CIE-LCHlch(68.14, 63.08, 108.64°)
OKLaboklab(71.84% -0.0613 0.1324)
OKLCHoklch(71.84% 0.146 114.9)
XYZxyz(30.5503, 38.1593, 8.4449)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE2F #3B2FAE
analogous
#AE7A2F #A2AE2F #62AE2F
triadic
#A2AE2F #2FA2AE #AE2FA2
tetradic
#A2AE2F #2FAE7A #3B2FAE #AE2F62
square
#A2AE2F #2FAE7A #3B2FAE #AE2F62
split-complementary
#A2AE2F #2F62AE #7A2FAE
monochromatic
#484E15 #757E22 #A2AE2F #C2CF4C #D3DC7C

Accessibility & contrast

On white

2.43
#A2AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A2AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE2F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE2F#FFFFFF#000000##000000
##A2AE2F1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#ADA496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae2f;
/* rgb */ color: rgb(162, 174, 47);
/* oklch */ color: oklch(71.8% 0.146 114.9);
Tailwind
colors: {
  custom: {
    50: '#c1c671',
    500: '#a2ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae2f;
$custom-light: #c1c671;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae2f",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 65.669,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.14591,
    "h": 114.9
  },
  "luminance": 0.38159
}

Semantic roles & 50–950 ramp

primary
#A2AE2F
secondary
#7C75C4
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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