#A2AB42#A2AB42

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

Color values

HEX#A2AB42
RGBrgb(162, 171, 66)
HSLhsl(65, 44%, 46%)
HSVhsv(65, 61%, 67%)
CMYKcmyk(5.3%, 0%, 61.4%, 32.9%)
CIE-LABlab(67.43, -17.49, 51.46)
CIE-LCHlch(67.43, 54.35, 108.77°)
OKLaboklab(71.32% -0.052 0.1179)
OKLCHoklch(71.32% 0.129 113.8)
XYZxyz(30.4473, 37.2011, 10.7298)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB42 #4B42AB
analogous
#AB8042 #A2AB42 #6EAB42
triadic
#A2AB42 #42A2AB #AB42A2
tetradic
#A2AB42 #42AB80 #4B42AB #AB426E
square
#A2AB42 #42AB80 #4B42AB #AB426E
split-complementary
#A2AB42 #426EAB #8042AB
monochromatic
#4E5320 #787F31 #A2AB42 #BCC466 #CFD592

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AB42#FFFFFF#000000##000000
##A2AB421.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)
#B7A336
Deuteranopia (green-blind)
#B7A549
Tritanopia (blue-blind)
#ACA195
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab42;
/* rgb */ color: rgb(162, 171, 66);
/* oklch */ color: oklch(71.3% 0.129 113.8);
Tailwind
colors: {
  custom: {
    50: '#c0c37b',
    500: '#a2ab42',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab42;
$custom-light: #c0c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab42",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 66
  },
  "hsl": {
    "h": 65.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71317,
    "c": 0.1288,
    "h": 113.8
  },
  "luminance": 0.37201
}

Semantic roles & 50–950 ramp

primary
#A2AB42
secondary
#8D88C0
accent
#54D45F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #A2AB42

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

Preview Lab → · Contrast checker → · Palette generator →

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