#A2AB36#A2AB36

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

Color values

HEX#A2AB36
RGBrgb(162, 171, 54)
HSLhsl(65, 52%, 44%)
HSVhsv(65, 68%, 67%)
CMYKcmyk(5.3%, 0%, 68.4%, 32.9%)
CIE-LABlab(67.33, -18.27, 56.37)
CIE-LCHlch(67.33, 59.26, 107.96°)
OKLaboklab(71.21% -0.0554 0.1264)
OKLCHoklch(71.21% 0.138 113.7)
XYZxyz(30.1299, 37.0741, 9.0581)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB36 #3F36AB
analogous
#AB7A36 #A2AB36 #68AB36
triadic
#A2AB36 #36A2AB #AB36A2
tetradic
#A2AB36 #36AB7A #3F36AB #AB3668
square
#A2AB36 #36AB7A #3F36AB #AB3668
split-complementary
#A2AB36 #3668AB #7A36AB
monochromatic
#4A4E19 #767C27 #A2AB36 #C0C955 #D1D883

Accessibility & contrast

On white

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

On black

8.41
#A2AB36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB36
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB36#FFFFFF#000000##000000
##A2AB361.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2ab36;
/* rgb */ color: rgb(162, 171, 54);
/* oklch */ color: oklch(71.2% 0.138 113.7);
Tailwind
colors: {
  custom: {
    50: '#c1c374',
    500: '#a2ab36',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab36;
$custom-light: #c1c374;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab36",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 64.615,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7121,
    "c": 0.138,
    "h": 113.7
  },
  "luminance": 0.37074
}

Semantic roles & 50–950 ramp

primary
#A2AB36
secondary
#817BC2
accent
#4CDB57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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