#A2AB29#A2AB29

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

Color values

HEX#A2AB29
RGBrgb(162, 171, 41)
HSLhsl(64, 61%, 42%)
HSVhsv(64, 76%, 67%)
CMYKcmyk(5.3%, 0%, 76%, 32.9%)
CIE-LABlab(67.25, -18.93, 60.98)
CIE-LCHlch(67.25, 63.85, 107.25°)
OKLaboklab(71.12% -0.0585 0.1339)
OKLCHoklch(71.12% 0.146 113.6)
XYZxyz(29.8644, 36.9679, 7.6597)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB29 #3229AB
analogous
#AB7329 #A2AB29 #61AB29
triadic
#A2AB29 #29A2AB #AB29A2
tetradic
#A2AB29 #29AB73 #3229AB #AB2961
square
#A2AB29 #29AB73 #3229AB #AB2961
split-complementary
#A2AB29 #2961AB #7329AB
monochromatic
#444811 #737A1D #A2AB29 #C7D140 #D6DD71

Accessibility & contrast

On white

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

On black

8.39
#A2AB29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB29
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB29#FFFFFF#000000##000000
##A2AB291.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A308
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#ADA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab29;
/* rgb */ color: rgb(162, 171, 41);
/* oklch */ color: oklch(71.1% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36e',
    500: '#a2ab29',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab29;
$custom-light: #c1c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab29",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 41
  },
  "hsl": {
    "h": 64.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71121,
    "c": 0.14607,
    "h": 113.6
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

primary
#A2AB29
secondary
#726CC4
accent
#43E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AB29

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

Preview Lab → · Contrast checker → · Palette generator →

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