#A2AA40#A2AA40

#A2AA40 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.129 H 113.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#A2AA40
RGBrgb(162, 170, 64)
HSLhsl(65, 45%, 46%)
HSVhsv(65, 62%, 67%)
CMYKcmyk(4.7%, 0%, 62.4%, 33.3%)
CIE-LABlab(67.13, -17.12, 52.01)
CIE-LCHlch(67.13, 54.76, 108.22°)
OKLaboklab(71.07% -0.0511 0.1187)
OKLCHoklch(71.07% 0.129 113.3)
XYZxyz(30.2012, 36.8016, 10.3620)
Luminance0.3680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA40 #4840AA
analogous
#AA7D40 #A2AA40 #6DAA40
triadic
#A2AA40 #40A2AA #AA40A2
tetradic
#A2AA40 #40AA7D #4840AA #AA406D
square
#A2AA40 #40AA7D #4840AA #AA406D
split-complementary
#A2AA40 #406DAA #7D40AA
monochromatic
#4D511F #787E2F #A2AA40 #BDC463 #D0D58F

Accessibility & contrast

On white

2.51
#A2AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#A2AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA40
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA40#FFFFFF#000000##000000
##A2AA401.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#ACA094
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa40;
/* rgb */ color: rgb(162, 170, 64);
/* oklch */ color: oklch(71.1% 0.129 113.3);
Tailwind
colors: {
  custom: {
    50: '#c0c37a',
    500: '#a2aa40',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa40;
$custom-light: #c0c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa40",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 64.528,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.12928,
    "h": 113.3
  },
  "luminance": 0.36801
}

Semantic roles & 50–950 ramp

primary
#A2AA40
secondary
#8A86C0
accent
#53D55D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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