#A2B381#A2B381

#A2B381 is a light, moderate yellow-green. Relative luminance 0.415; OKLCH L 74.1% C 0.071 H 123.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A2B381
RGBrgb(162, 179, 129)
HSLhsl(80, 25%, 60%)
HSVhsv(80, 28%, 70%)
CMYKcmyk(9.5%, 0%, 27.9%, 29.8%)
CIE-LABlab(70.53, -14.65, 23.64)
CIE-LCHlch(70.53, 27.81, 121.78°)
OKLaboklab(74.07% -0.0392 0.0596)
OKLCHoklch(74.07% 0.071 123.4)
XYZxyz(34.9824, 41.5065, 26.9332)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B381 #9281B3
analogous
#B3AB81 #A2B381 #89B381
triadic
#A2B381 #81A2B3 #B381A2
tetradic
#A2B381 #81B3AB #9281B3 #B38189
square
#A2B381 #81B3AB #9281B3 #B38189
split-complementary
#A2B381 #8189B3 #AB81B3
monochromatic
#647446 #859A5D #A2B381 #BECAA7 #DAE1CD

Accessibility & contrast

On white

2.26
#A2B381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A2B381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B381
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B381#FFFFFF#000000##000000
##A2B3811.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AD7E
Deuteranopia (green-blind)
#B6AC83
Tritanopia (blue-blind)
#A6AEA6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b381;
/* rgb */ color: rgb(162, 179, 129);
/* oklch */ color: oklch(74.1% 0.071 123.4);
Tailwind
colors: {
  custom: {
    50: '#bec9a6',
    500: '#a2b381',
    950: '#000000',
  },
}
SCSS
$custom: #a2b381;
$custom-light: #bec9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b381",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 129
  },
  "hsl": {
    "h": 80.4,
    "s": 24.752,
    "l": 60.392
  },
  "oklch": {
    "l": 0.74073,
    "c": 0.07131,
    "h": 123.4
  },
  "luminance": 0.41507
}

Semantic roles & 50–950 ramp

primary
#A2B381
secondary
#C5BED1
accent
#42A363
background
#FBFCFA
surface
#F7F8F4
border
#D0D1CE
text
#12130F
muted
#81827F

Preview Lab

Preview with #A2B381

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

Preview Lab → · Contrast checker → · Palette generator →

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