#A2B970#A2B970

#A2B970 is a light, moderate yellow-green. Relative luminance 0.435; OKLCH L 75.1% C 0.101 H 123.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#A2B970
RGBrgb(162, 185, 112)
HSLhsl(79, 34%, 58%)
HSVhsv(79, 39%, 73%)
CMYKcmyk(12.4%, 0%, 39.5%, 27.5%)
CIE-LABlab(71.93, -20.02, 34.45)
CIE-LCHlch(71.93, 39.85, 120.16°)
OKLaboklab(75.1% -0.055 0.0844)
OKLCHoklch(75.1% 0.101 123.1)
XYZxyz(35.1737, 43.5491, 21.8789)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B970 #8770B9
analogous
#B9AB70 #A2B970 #7DB970
triadic
#A2B970 #70A2B9 #B970A2
tetradic
#A2B970 #70B9AB #8770B9 #B9707D
square
#A2B970 #70B9AB #8770B9 #B9707D
split-complementary
#A2B970 #707DB9 #AB70B9
monochromatic
#627539 #859E4D #A2B970 #BDCD99 #D7E1C2

Accessibility & contrast

On white

2.16
#A2B970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#A2B970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B970
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B970#FFFFFF#000000##000000
##A2B9701.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16B
Deuteranopia (green-blind)
#BEB074
Tritanopia (blue-blind)
#A7B2A7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a2b970;
/* rgb */ color: rgb(162, 185, 112);
/* oklch */ color: oklch(75.1% 0.101 123.1);
Tailwind
colors: {
  custom: {
    50: '#bece9a',
    500: '#a2b970',
    950: '#000000',
  },
}
SCSS
$custom: #a2b970;
$custom-light: #bece9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b970",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 78.904,
    "s": 34.272,
    "l": 58.235
  },
  "oklch": {
    "l": 0.75096,
    "c": 0.10076,
    "h": 123.1
  },
  "luminance": 0.43549
}

Semantic roles & 50–950 ramp

primary
#A2B970
secondary
#BDB4D1
accent
#5DCA80
background
#FBFCF9
surface
#F7F9F2
border
#D0D2CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A2B970

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

Preview Lab → · Contrast checker → · Palette generator →

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