#A2AB2A#A2AB2A

#A2AB2A is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.146 H 113.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#A2AB2A
RGBrgb(162, 171, 42)
HSLhsl(64, 61%, 42%)
HSVhsv(64, 75%, 67%)
CMYKcmyk(5.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(67.26, -18.89, 60.65)
CIE-LCHlch(67.26, 63.53, 107.30°)
OKLaboklab(71.13% -0.0582 0.1334)
OKLCHoklch(71.13% 0.146 113.6)
XYZxyz(29.8820, 36.9750, 7.7528)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB2A #332AAB
analogous
#AB742A #A2AB2A #62AB2A
triadic
#A2AB2A #2AA2AB #AB2AA2
tetradic
#A2AB2A #2AAB74 #332AAB #AB2A62
square
#A2AB2A #2AAB74 #332AAB #AB2A62
split-complementary
#A2AB2A #2A62AB #742AAB
monochromatic
#454912 #737A1E #A2AB2A #C7D142 #D5DD73

Accessibility & contrast

On white

2.50
#A2AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#A2AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB2A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB2A#FFFFFF#000000##000000
##A2AB2A1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30B
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab2a;
/* rgb */ color: rgb(162, 171, 42);
/* oklch */ color: oklch(71.1% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36e',
    500: '#a2ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab2a;
$custom-light: #c1c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab2a",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 64.186,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71127,
    "c": 0.14553,
    "h": 113.6
  },
  "luminance": 0.36974
}

Semantic roles & 50–950 ramp

primary
#A2AB2A
secondary
#736DC4
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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