#A2AA42#A2AA42

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

Color values

HEX#A2AA42
RGBrgb(162, 170, 66)
HSLhsl(65, 44%, 46%)
HSVhsv(65, 61%, 67%)
CMYKcmyk(4.7%, 0%, 61.2%, 33.3%)
CIE-LABlab(67.15, -16.98, 51.16)
CIE-LCHlch(67.15, 53.90, 108.36°)
OKLaboklab(71.09% -0.0505 0.1172)
OKLCHoklch(71.09% 0.128 113.3)
XYZxyz(30.2591, 36.8248, 10.6671)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA42 #4A42AA
analogous
#AA7E42 #A2AA42 #6EAA42
triadic
#A2AA42 #42A2AA #AA42A2
tetradic
#A2AA42 #42AA7E #4A42AA #AA426E
square
#A2AA42 #42AA7E #4A42AA #AA426E
split-complementary
#A2AA42 #426EAA #7E42AA
monochromatic
#4E5220 #787E31 #A2AA42 #BCC366 #CFD592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AA42#FFFFFF#000000##000000
##A2AA421.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)
#B6A236
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#ACA094
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa42;
/* rgb */ color: rgb(162, 170, 66);
/* oklch */ color: oklch(71.1% 0.128 113.3);
Tailwind
colors: {
  custom: {
    50: '#c0c37b',
    500: '#a2aa42',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa42;
$custom-light: #c0c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa42",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 64.615,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71091,
    "c": 0.12763,
    "h": 113.3
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#A2AA42
secondary
#8C88C0
accent
#54D45E
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A2AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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