#A2AB41#A2AB41

#A2AB41 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.130 H 113.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A2AB41
RGBrgb(162, 171, 65)
HSLhsl(65, 45%, 46%)
HSVhsv(65, 62%, 67%)
CMYKcmyk(5.3%, 0%, 62%, 32.9%)
CIE-LABlab(67.42, -17.56, 51.89)
CIE-LCHlch(67.42, 54.78, 108.69°)
OKLaboklab(71.31% -0.0523 0.1186)
OKLCHoklch(71.31% 0.13 113.8)
XYZxyz(30.4181, 37.1894, 10.5759)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB41 #4A41AB
analogous
#AB7F41 #A2AB41 #6DAB41
triadic
#A2AB41 #41A2AB #AB41A2
tetradic
#A2AB41 #41AB7F #4A41AB #AB416D
square
#A2AB41 #41AB7F #4A41AB #AB416D
split-complementary
#A2AB41 #416DAB #7F41AB
monochromatic
#4E521F #787F30 #A2AB41 #BCC465 #CFD591

Accessibility & contrast

On white

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

On black

8.44
#A2AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB41
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB41#FFFFFF#000000##000000
##A2AB411.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A334
Deuteranopia (green-blind)
#B7A548
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab41;
/* rgb */ color: rgb(162, 171, 65);
/* oklch */ color: oklch(71.3% 0.130 113.8);
Tailwind
colors: {
  custom: {
    50: '#c0c37a',
    500: '#a2ab41',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab41;
$custom-light: #c0c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab41",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 65.094,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71307,
    "c": 0.12963,
    "h": 113.8
  },
  "luminance": 0.37189
}

Semantic roles & 50–950 ramp

primary
#A2AB41
secondary
#8C87C1
accent
#53D55E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A2AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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