#A2AB33#A2AB33

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

Color values

HEX#A2AB33
RGBrgb(162, 171, 51)
HSLhsl(65, 54%, 44%)
HSVhsv(65, 70%, 67%)
CMYKcmyk(5.3%, 0%, 70.2%, 32.9%)
CIE-LABlab(67.31, -18.44, 57.50)
CIE-LCHlch(67.31, 60.39, 107.78°)
OKLaboklab(71.19% -0.0562 0.1283)
OKLCHoklch(71.19% 0.14 113.6)
XYZxyz(30.0616, 37.0468, 8.6985)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB33 #3C33AB
analogous
#AB7833 #A2AB33 #66AB33
triadic
#A2AB33 #33A2AB #AB33A2
tetradic
#A2AB33 #33AB78 #3C33AB #AB3366
square
#A2AB33 #33AB78 #3C33AB #AB3366
split-complementary
#A2AB33 #3366AB #7833AB
monochromatic
#494D17 #757C25 #A2AB33 #C2CB50 #D2D97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AB33#FFFFFF#000000##000000
##A2AB331.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)
#B8A31F
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab33;
/* rgb */ color: rgb(162, 171, 51);
/* oklch */ color: oklch(71.2% 0.140 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c372',
    500: '#a2ab33',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab33;
$custom-light: #c1c372;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab33",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 64.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.14005,
    "h": 113.6
  },
  "luminance": 0.37046
}

Semantic roles & 50–950 ramp

primary
#A2AB33
secondary
#7D78C2
accent
#4ADD55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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