#2AA61F#2AA61F

#2AA61F is a light, vivid green. Relative luminance 0.279; OKLCH L 63.4% C 0.198 H 142.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2AA61F
RGBrgb(42, 166, 31)
HSLhsl(115, 69%, 39%)
HSVhsv(115, 81%, 65%)
CMYKcmyk(74.7%, 0%, 81.3%, 34.9%)
CIE-LABlab(59.76, -57.35, 54.98)
CIE-LCHlch(59.76, 79.44, 136.21°)
OKLaboklab(63.44% -0.1562 0.1221)
OKLCHoklch(63.44% 0.198 142)
XYZxyz(14.8375, 27.8619, 5.8920)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA61F #9B1FA6
analogous
#6DA61F #2AA61F #1FA657
triadic
#2AA61F #1F2AA6 #A61F2A
tetradic
#2AA61F #1F6DA6 #9B1FA6 #A6571F
square
#2AA61F #1F6DA6 #9B1FA6 #A6571F
split-complementary
#2AA61F #571FA6 #A61F6D
monochromatic
#103F0C #1D7215 #2AA61F #39D72B #69E15E

Accessibility & contrast

On white

3.19
#2AA61F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#2AA61F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA61F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA61F#FFFFFF#000000##000000
##2AA61F1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#00A18D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2aa61f;
/* rgb */ color: rgb(42, 166, 31);
/* oklch */ color: oklch(63.4% 0.198 142.0);
Tailwind
colors: {
  custom: {
    50: '#79c267',
    500: '#2aa61f',
    950: '#000000',
  },
}
SCSS
$custom: #2aa61f;
$custom-light: #79c267;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa61f",
  "rgb": {
    "r": 42,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 115.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.19826,
    "h": 142
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

primary
#2AA61F
secondary
#BD5BC5
accent
#3CEBDD
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2AA61F

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

Preview Lab → · Contrast checker → · Palette generator →

#2AA61F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva