#A2AB37#A2AB37

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

Color values

HEX#A2AB37
RGBrgb(162, 171, 55)
HSLhsl(65, 51%, 44%)
HSVhsv(65, 68%, 67%)
CMYKcmyk(5.3%, 0%, 67.8%, 32.9%)
CIE-LABlab(67.34, -18.21, 55.98)
CIE-LCHlch(67.34, 58.87, 108.02°)
OKLaboklab(71.22% -0.0551 0.1257)
OKLCHoklch(71.22% 0.137 113.7)
XYZxyz(30.1536, 37.0836, 9.1831)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB37 #4037AB
analogous
#AB7A37 #A2AB37 #68AB37
triadic
#A2AB37 #37A2AB #AB37A2
tetradic
#A2AB37 #37AB7A #4037AB #AB3768
square
#A2AB37 #37AB7A #4037AB #AB3768
split-complementary
#A2AB37 #3768AB #7A37AB
monochromatic
#4A4E19 #767D28 #A2AB37 #C0C956 #D1D885

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AB37#FFFFFF#000000##000000
##A2AB371.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A326
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#ADA194
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab37;
/* rgb */ color: rgb(162, 171, 55);
/* oklch */ color: oklch(71.2% 0.137 113.7);
Tailwind
colors: {
  custom: {
    50: '#c0c375',
    500: '#a2ab37',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab37;
$custom-light: #c0c375;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab37",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 64.655,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71218,
    "c": 0.1373,
    "h": 113.7
  },
  "luminance": 0.37083
}

Semantic roles & 50–950 ramp

primary
#A2AB37
secondary
#827CC1
accent
#4DDB58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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