#2AA231#2AA231

#2AA231 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.184 H 143.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2AA231
RGBrgb(42, 162, 49)
HSLhsl(124, 59%, 40%)
HSVhsv(124, 74%, 64%)
CMYKcmyk(74.1%, 0%, 69.8%, 36.5%)
CIE-LABlab(58.56, -54.65, 47.41)
CIE-LCHlch(58.56, 72.35, 139.05°)
OKLaboklab(62.47% -0.148 0.1087)
OKLCHoklch(62.47% 0.184 143.7)
XYZxyz(14.4286, 26.5530, 7.2700)
Luminance0.2656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA231 #A22A9B
analogous
#5FA22A #2AA231 #2AA26D
triadic
#2AA231 #312AA2 #A2312A
tetradic
#2AA231 #2A5FA2 #A22A9B #A26D2A
square
#2AA231 #2A5FA2 #A22A9B #A26D2A
split-complementary
#2AA231 #6D2AA2 #A22A5F
monochromatic
#114114 #1D7122 #2AA231 #3DCD45 #6DD973

Accessibility & contrast

On white

3.33
#2AA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2AA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA231
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA231#FFFFFF#000000##000000
##2AA2311.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59321
Deuteranopia (green-blind)
#98893C
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa231;
/* rgb */ color: rgb(42, 162, 49);
/* oklch */ color: oklch(62.5% 0.184 143.7);
Tailwind
colors: {
  custom: {
    50: '#77bf6f',
    500: '#2aa231',
    950: '#000000',
  },
}
SCSS
$custom: #2aa231;
$custom-light: #77bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa231",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 123.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.18366,
    "h": 143.7
  },
  "luminance": 0.26555
}

Semantic roles & 50–950 ramp

primary
#2AA231
secondary
#C068BB
accent
#46D9E2
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2AA231

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

Preview Lab → · Contrast checker → · Palette generator →

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