#A2AA37#A2AA37

#A2AA37 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.136 H 113.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A2AA37
RGBrgb(162, 170, 55)
HSLhsl(64, 51%, 44%)
HSVhsv(64, 68%, 67%)
CMYKcmyk(4.7%, 0%, 67.6%, 33.3%)
CIE-LABlab(67.06, -17.70, 55.69)
CIE-LCHlch(67.06, 58.44, 107.63°)
OKLaboklab(70.99% -0.0537 0.1251)
OKLCHoklch(70.99% 0.136 113.2)
XYZxyz(29.9654, 36.7073, 9.1204)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AA37 #3F37AA
analogous
#AA7937 #A2AA37 #69AA37
triadic
#A2AA37 #37A2AA #AA37A2
tetradic
#A2AA37 #37AA79 #3F37AA #AA3769
square
#A2AA37 #37AA79 #3F37AA #AA3769
split-complementary
#A2AA37 #3769AA #7937AA
monochromatic
#4A4E19 #767C28 #A2AA37 #C0C856 #D1D784

Accessibility & contrast

On white

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

On black

8.34
#A2AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AA37
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AA37#FFFFFF#000000##000000
##A2AA371.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A226
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#ADA093
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a2aa37;
/* rgb */ color: rgb(162, 170, 55);
/* oklch */ color: oklch(71.0% 0.136 113.2);
Tailwind
colors: {
  custom: {
    50: '#c0c375',
    500: '#a2aa37',
    950: '#000000',
  },
}
SCSS
$custom: #a2aa37;
$custom-light: #c0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a2aa37",
  "rgb": {
    "r": 162,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 64.174,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70992,
    "c": 0.13618,
    "h": 113.2
  },
  "luminance": 0.36707
}

Semantic roles & 50–950 ramp

primary
#A2AA37
secondary
#817CC1
accent
#4DDB57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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