#A2B159#A2B159

#A2B159 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 72.9% C 0.115 H 117.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#A2B159
RGBrgb(162, 177, 89)
HSLhsl(70, 36%, 52%)
HSVhsv(70, 50%, 69%)
CMYKcmyk(8.5%, 0%, 49.7%, 30.6%)
CIE-LABlab(69.36, -18.56, 42.90)
CIE-LCHlch(69.36, 46.74, 113.40°)
OKLaboklab(72.94% -0.0527 0.1019)
OKLCHoklch(72.94% 0.115 117.3)
XYZxyz(32.4260, 39.8472, 15.4323)
Luminance0.3985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B159 #6859B1
analogous
#B19459 #A2B159 #76B159
triadic
#A2B159 #59A2B1 #B159A2
tetradic
#A2B159 #59B194 #6859B1 #B15976
square
#A2B159 #59B194 #6859B1 #B15976
split-complementary
#A2B159 #5976B1 #9459B1
monochromatic
#59622E #7F8B41 #A2B159 #B9C583 #D1D8AC

Accessibility & contrast

On white

2.34
#A2B159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#A2B159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B159
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B159#FFFFFF#000000##000000
##A2B1591.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA951
Deuteranopia (green-blind)
#BAAA5E
Tritanopia (blue-blind)
#AAA99D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b159;
/* rgb */ color: rgb(162, 177, 89);
/* oklch */ color: oklch(72.9% 0.115 117.3);
Tailwind
colors: {
  custom: {
    50: '#bfc88a',
    500: '#a2b159',
    950: '#000000',
  },
}
SCSS
$custom: #a2b159;
$custom-light: #bfc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b159",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 70.227,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.11473,
    "h": 117.3
  },
  "luminance": 0.39847
}

Semantic roles & 50–950 ramp

primary
#A2B159
secondary
#A6A0C6
accent
#5CCC6F
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #A2B159

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

Preview Lab → · Contrast checker → · Palette generator →

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