#2AA228#2AA228

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

Color values

HEX#2AA228
RGBrgb(42, 162, 40)
HSLhsl(119, 60%, 40%)
HSVhsv(119, 75%, 64%)
CMYKcmyk(74.1%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.49, -55.43, 50.81)
CIE-LCHlch(58.49, 75.19, 137.49°)
OKLaboklab(62.4% -0.1506 0.1147)
OKLCHoklch(62.4% 0.189 142.7)
XYZxyz(14.2573, 26.4845, 6.3677)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA228 #A028A2
analogous
#67A228 #2AA228 #28A263
triadic
#2AA228 #282AA2 #A2282A
tetradic
#2AA228 #2867A2 #A028A2 #A26328
square
#2AA228 #2867A2 #A028A2 #A26328
split-complementary
#2AA228 #6328A2 #A22867
monochromatic
#114010 #1D711C #2AA228 #3CCE39 #6CDA6A

Accessibility & contrast

On white

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

On black

6.30
#2AA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA228
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA228#FFFFFF#000000##000000
##2AA2281.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920F
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa228;
/* rgb */ color: rgb(42, 162, 40);
/* oklch */ color: oklch(62.4% 0.189 142.7);
Tailwind
colors: {
  custom: {
    50: '#77bf6a',
    500: '#2aa228',
    950: '#000000',
  },
}
SCSS
$custom: #2aa228;
$custom-light: #77bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa228",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 119.016,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.624,
    "c": 0.18927,
    "h": 142.7
  },
  "luminance": 0.26486
}

Semantic roles & 50–950 ramp

primary
#2AA228
secondary
#BF65C1
accent
#44E4E1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA228

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

Preview Lab → · Contrast checker → · Palette generator →

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