#2AA226#2AA226

#2AA226 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.190 H 142.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2AA226
RGBrgb(42, 162, 38)
HSLhsl(118, 62%, 39%)
HSVhsv(118, 77%, 64%)
CMYKcmyk(74.1%, 0%, 76.5%, 36.5%)
CIE-LABlab(58.48, -55.58, 51.50)
CIE-LCHlch(58.48, 75.77, 137.18°)
OKLaboklab(62.39% -0.1511 0.1159)
OKLCHoklch(62.39% 0.19 142.5)
XYZxyz(14.2242, 26.4712, 6.1932)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA226 #9E26A2
analogous
#68A226 #2AA226 #26A260
triadic
#2AA226 #262AA2 #A2262A
tetradic
#2AA226 #2668A2 #9E26A2 #A26026
square
#2AA226 #2668A2 #9E26A2 #A26026
split-complementary
#2AA226 #6026A2 #A22668
monochromatic
#103F0F #1D701A #2AA226 #3AD035 #6BDB67

Accessibility & contrast

On white

3.34
#2AA226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#2AA226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA226
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA226#FFFFFF#000000##000000
##2AA2261.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920A
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa226;
/* rgb */ color: rgb(42, 162, 38);
/* oklch */ color: oklch(62.4% 0.190 142.5);
Tailwind
colors: {
  custom: {
    50: '#77bf69',
    500: '#2aa226',
    950: '#000000',
  },
}
SCSS
$custom: #2aa226;
$custom-light: #77bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa226",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 118.065,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62386,
    "c": 0.19038,
    "h": 142.5
  },
  "luminance": 0.26473
}

Semantic roles & 50–950 ramp

primary
#2AA226
secondary
#BE63C1
accent
#43E5E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA226

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

Preview Lab → · Contrast checker → · Palette generator →

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