#A2AB26#A2AB26

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

Color values

HEX#A2AB26
RGBrgb(162, 171, 38)
HSLhsl(64, 64%, 41%)
HSVhsv(64, 78%, 67%)
CMYKcmyk(5.3%, 0%, 77.8%, 32.9%)
CIE-LABlab(67.24, -19.06, 61.92)
CIE-LCHlch(67.24, 64.78, 107.11°)
OKLaboklab(71.1% -0.0591 0.1353)
OKLCHoklch(71.1% 0.148 113.6)
XYZxyz(29.8140, 36.9478, 7.3944)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB26 #2F26AB
analogous
#AB7126 #A2AB26 #5FAB26
triadic
#A2AB26 #26A2AB #AB26A2
tetradic
#A2AB26 #26AB71 #2F26AB #AB265F
square
#A2AB26 #26AB71 #2F26AB #AB265F
split-complementary
#A2AB26 #265FAB #7126AB
monochromatic
#434710 #73791B #A2AB26 #C9D33B #D7DF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AB26#FFFFFF#000000##000000
##A2AB261.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)
#B8A200
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#ADA092
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab26;
/* rgb */ color: rgb(162, 171, 38);
/* oklch */ color: oklch(71.1% 0.148 113.6);
Tailwind
colors: {
  custom: {
    50: '#c1c36c',
    500: '#a2ab26',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab26;
$custom-light: #c1c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab26",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 64.06,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71104,
    "c": 0.14764,
    "h": 113.6
  },
  "luminance": 0.36947
}

Semantic roles & 50–950 ramp

primary
#A2AB26
secondary
#6E68C5
accent
#41E74C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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