#A2AA1F#A2AA1F

#A2AA1F is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.8% C 0.150 H 113.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#A2AA1F
RGBrgb(162, 170, 31)
HSLhsl(63, 69%, 39%)
HSVhsv(63, 82%, 67%)
CMYKcmyk(4.7%, 0%, 81.8%, 33.3%)
CIE-LABlab(66.92, -18.81, 63.65)
CIE-LCHlch(66.92, 66.37, 106.46°)
OKLaboklab(70.84% -0.0589 0.1378)
OKLCHoklch(70.84% 0.15 113.1)
XYZxyz(29.5233, 36.5304, 6.7919)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA1F #271FAA
analogous
#AA6D1F #A2AA1F #5DAA1F
triadic
#A2AA1F #1FA2AA #AA1FA2
tetradic
#A2AA1F #1FAA6D #271FAA #AA1F5D
square
#A2AA1F #1FAA6D #271FAA #AA1F5D
split-complementary
#A2AA1F #1F5DAA #6D1FAA
monochromatic
#3F420C #717616 #A2AA1F #CFD92D #DBE261

Accessibility & contrast

On white

2.53
#A2AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#A2AA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA1F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA1F#FFFFFF#000000##000000
##A2AA1F1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#AD9F91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa1f;
/* rgb */ color: rgb(162, 170, 31);
/* oklch */ color: oklch(70.8% 0.150 113.1);
Tailwind
colors: {
  custom: {
    50: '#c1c369',
    500: '#a2aa1f',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa1f;
$custom-light: #c1c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa1f",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 63.453,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.70842,
    "c": 0.14984,
    "h": 113.1
  },
  "luminance": 0.3653
}

Semantic roles & 50–950 ramp

primary
#A2AA1F
secondary
#645EC7
accent
#3CEC46
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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