#A2AB70#A2AB70

#A2AB70 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.0% C 0.081 H 115.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#A2AB70
RGBrgb(162, 171, 112)
HSLhsl(69, 26%, 55%)
HSVhsv(69, 35%, 67%)
CMYKcmyk(5.3%, 0%, 34.5%, 32.9%)
CIE-LABlab(68.00, -12.85, 29.37)
CIE-LCHlch(68.00, 32.06, 113.63°)
OKLaboklab(71.96% -0.0347 0.0727)
OKLCHoklch(71.96% 0.081 115.5)
XYZxyz(32.3879, 37.9773, 20.9502)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AB70 #7970AB
analogous
#AB9670 #A2AB70 #84AB70
triadic
#A2AB70 #70A2AB #AB70A2
tetradic
#A2AB70 #70AB96 #7970AB #AB7084
square
#A2AB70 #70AB96 #7970AB #AB7084
split-complementary
#A2AB70 #7084AB #9670AB
monochromatic
#5F653B #838C52 #A2AB70 #BBC297 #D4D8BD

Accessibility & contrast

On white

2.44
#A2AB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#A2AB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AB70
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AB70#FFFFFF#000000##000000
##A2AB701.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56C
Deuteranopia (green-blind)
#B2A673
Tritanopia (blue-blind)
#A8A59C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ab70;
/* rgb */ color: rgb(162, 171, 112);
/* oklch */ color: oklch(72.0% 0.081 115.5);
Tailwind
colors: {
  custom: {
    50: '#bec499',
    500: '#a2ab70',
    950: '#000000',
  },
}
SCSS
$custom: #a2ab70;
$custom-light: #bec499;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ab70",
  "rgb": {
    "r": 162,
    "g": 171,
    "b": 112
  },
  "hsl": {
    "h": 69.153,
    "s": 25.991,
    "l": 55.49
  },
  "oklch": {
    "l": 0.71964,
    "c": 0.08055,
    "h": 115.5
  },
  "luminance": 0.37977
}

Semantic roles & 50–950 ramp

primary
#A2AB70
secondary
#B3AFC8
accent
#65C274
background
#FBFCF9
surface
#F7F8F2
border
#D0D1CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #A2AB70

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

Preview Lab → · Contrast checker → · Palette generator →

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