#A2AA2D#A2AA2D

#A2AA2D is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.143 H 113.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#A2AA2D
RGBrgb(162, 170, 45)
HSLhsl(64, 58%, 42%)
HSVhsv(64, 74%, 67%)
CMYKcmyk(4.7%, 0%, 73.5%, 33.3%)
CIE-LABlab(66.99, -18.24, 59.38)
CIE-LCHlch(66.99, 62.12, 107.08°)
OKLaboklab(70.92% -0.0562 0.1312)
OKLCHoklch(70.92% 0.143 113.2)
XYZxyz(29.7496, 36.6209, 7.9835)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA2D #352DAA
analogous
#AA742D #A2AA2D #64AA2D
triadic
#A2AA2D #2DA2AA #AA2DA2
tetradic
#A2AA2D #2DAA74 #352DAA #AA2D64
square
#A2AA2D #2DAA74 #352DAA #AA2D64
split-complementary
#A2AA2D #2D64AA #742DAA
monochromatic
#464913 #747A20 #A2AA2D #C5CE46 #D4DB77

Accessibility & contrast

On white

2.52
#A2AA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#A2AA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA2D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA2D#FFFFFF#000000##000000
##A2AA2D1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa2d;
/* rgb */ color: rgb(162, 170, 45);
/* oklch */ color: oklch(70.9% 0.143 113.2);
Tailwind
colors: {
  custom: {
    50: '#c1c36f',
    500: '#a2aa2d',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa2d;
$custom-light: #c1c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa2d",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 63.84,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70919,
    "c": 0.14273,
    "h": 113.2
  },
  "luminance": 0.3662
}

Semantic roles & 50–950 ramp

primary
#A2AA2D
secondary
#7570C3
accent
#46E150
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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