#A2AB4E#A2AB4E

#A2AB4E is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.118 H 114.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A2AB4E
RGBrgb(162, 171, 78)
HSLhsl(66, 37%, 49%)
HSVhsv(66, 54%, 67%)
CMYKcmyk(5.3%, 0%, 54.4%, 32.9%)
CIE-LABlab(67.54, -16.53, 46.09)
CIE-LCHlch(67.54, 48.96, 109.73°)
OKLaboklab(71.45% -0.048 0.1078)
OKLCHoklch(71.45% 0.118 114)
XYZxyz(30.8389, 37.3578, 12.7925)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB4E #574EAB
analogous
#AB864E #A2AB4E #74AB4E
triadic
#A2AB4E #4EA2AB #AB4EA2
tetradic
#A2AB4E #4EAB86 #574EAB #AB4E74
square
#A2AB4E #4EAB86 #574EAB #AB4E74
split-complementary
#A2AB4E #4E74AB #864EAB
monochromatic
#525728 #7A813B #A2AB4E #B9C076 #CFD4A0

Accessibility & contrast

On white

2.48
#A2AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A2AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB4E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB4E#FFFFFF#000000##000000
##A2AB4E1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A445
Deuteranopia (green-blind)
#B6A553
Tritanopia (blue-blind)
#ABA296
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a2ab4e;
/* rgb */ color: rgb(162, 171, 78);
/* oklch */ color: oklch(71.4% 0.118 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc382',
    500: '#a2ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab4e;
$custom-light: #bfc382;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab4e",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 65.806,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71448,
    "c": 0.11803,
    "h": 114
  },
  "luminance": 0.37357
}

Semantic roles & 50–950 ramp

primary
#A2AB4E
secondary
#9994C1
accent
#5ACD66
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #A2AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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