#A2AB46#A2AB46

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

Color values

HEX#A2AB46
RGBrgb(162, 171, 70)
HSLhsl(65, 42%, 47%)
HSVhsv(65, 59%, 67%)
CMYKcmyk(5.3%, 0%, 59.1%, 32.9%)
CIE-LABlab(67.46, -17.19, 49.71)
CIE-LCHlch(67.46, 52.60, 109.07°)
OKLaboklab(71.36% -0.0507 0.1147)
OKLCHoklch(71.36% 0.125 113.8)
XYZxyz(30.5694, 37.2499, 11.3728)
Luminance0.3725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB46 #4F46AB
analogous
#AB8246 #A2AB46 #6FAB46
triadic
#A2AB46 #46A2AB #AB46A2
tetradic
#A2AB46 #46AB82 #4F46AB #AB466F
square
#A2AB46 #46AB82 #4F46AB #AB466F
split-complementary
#A2AB46 #466FAB #8246AB
monochromatic
#505422 #798034 #A2AB46 #BBC36C #CFD497

Accessibility & contrast

On white

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

On black

8.45
#A2AB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB46
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB46#FFFFFF#000000##000000
##A2AB461.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A33B
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#ACA295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab46;
/* rgb */ color: rgb(162, 171, 70);
/* oklch */ color: oklch(71.4% 0.125 113.8);
Tailwind
colors: {
  custom: {
    50: '#c0c37d',
    500: '#a2ab46',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab46;
$custom-light: #c0c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab46",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 65.347,
    "s": 41.909,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.12537,
    "h": 113.8
  },
  "luminance": 0.37249
}

Semantic roles & 50–950 ramp

primary
#A2AB46
secondary
#918CC0
accent
#56D261
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #A2AB46

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

Preview Lab → · Contrast checker → · Palette generator →

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