#A2AE2A#A2AE2A

#A2AE2A is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.149 H 114.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#A2AE2A
RGBrgb(162, 174, 42)
HSLhsl(65, 61%, 42%)
HSVhsv(65, 76%, 68%)
CMYKcmyk(6.9%, 0%, 75.9%, 31.8%)
CIE-LABlab(68.11, -20.40, 61.45)
CIE-LCHlch(68.11, 64.74, 108.36°)
OKLaboklab(71.81% -0.0624 0.135)
OKLCHoklch(71.81% 0.149 114.8)
XYZxyz(30.4551, 38.1212, 7.9438)
Luminance0.3812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE2A #362AAE
analogous
#AE782A #A2AE2A #60AE2A
triadic
#A2AE2A #2AA2AE #AE2AA2
tetradic
#A2AE2A #2AAE78 #362AAE #AE2A60
square
#A2AE2A #2AAE78 #362AAE #AE2A60
split-complementary
#A2AE2A #2A60AE #782AAE
monochromatic
#464B12 #747D1E #A2AE2A #C5D243 #D4DE75

Accessibility & contrast

On white

2.44
#A2AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#A2AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE2A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE2A#FFFFFF#000000##000000
##A2AE2A1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA509
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#ADA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae2a;
/* rgb */ color: rgb(162, 174, 42);
/* oklch */ color: oklch(71.8% 0.149 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66e',
    500: '#a2ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae2a;
$custom-light: #c1c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae2a",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 65.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.14877,
    "h": 114.8
  },
  "luminance": 0.38121
}

Semantic roles & 50–950 ramp

primary
#A2AE2A
secondary
#776FC5
accent
#44E452
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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