#A2AB39#A2AB39

#A2AB39 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.2% C 0.136 H 113.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A2AB39
RGBrgb(162, 171, 57)
HSLhsl(65, 50%, 45%)
HSVhsv(65, 67%, 67%)
CMYKcmyk(5.3%, 0%, 66.7%, 32.9%)
CIE-LABlab(67.35, -18.09, 55.19)
CIE-LCHlch(67.35, 58.08, 108.15°)
OKLaboklab(71.24% -0.0546 0.1244)
OKLCHoklch(71.24% 0.136 113.7)
XYZxyz(30.2025, 37.1032, 9.4407)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB39 #4239AB
analogous
#AB7B39 #A2AB39 #69AB39
triadic
#A2AB39 #39A2AB #AB39A2
tetradic
#A2AB39 #39AB7B #4239AB #AB3969
square
#A2AB39 #39AB7B #4239AB #AB3969
split-complementary
#A2AB39 #3969AB #7B39AB
monochromatic
#4B4F1A #777D2A #A2AB39 #BFC859 #D1D787

Accessibility & contrast

On white

2.49
#A2AB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A2AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB39
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB39#FFFFFF#000000##000000
##A2AB391.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A329
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#ACA194
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab39;
/* rgb */ color: rgb(162, 171, 57);
/* oklch */ color: oklch(71.2% 0.136 113.7);
Tailwind
colors: {
  custom: {
    50: '#c0c376',
    500: '#a2ab39',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab39;
$custom-light: #c0c376;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab39",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 64.737,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.13585,
    "h": 113.7
  },
  "luminance": 0.37103
}

Semantic roles & 50–950 ramp

primary
#A2AB39
secondary
#847FC1
accent
#4EDA59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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