#2AA227#2AA227

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

Color values

HEX#2AA227
RGBrgb(42, 162, 39)
HSLhsl(119, 61%, 39%)
HSVhsv(119, 76%, 64%)
CMYKcmyk(74.1%, 0%, 75.9%, 36.5%)
CIE-LABlab(58.49, -55.51, 51.16)
CIE-LCHlch(58.49, 75.48, 137.34°)
OKLaboklab(62.39% -0.1508 0.1153)
OKLCHoklch(62.39% 0.19 142.6)
XYZxyz(14.2405, 26.4778, 6.2793)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA227 #9F27A2
analogous
#67A227 #2AA227 #27A262
triadic
#2AA227 #272AA2 #A2272A
tetradic
#2AA227 #2767A2 #9F27A2 #A26227
square
#2AA227 #2767A2 #9F27A2 #A26227
split-complementary
#2AA227 #6227A2 #A22767
monochromatic
#103F0F #1D711B #2AA227 #3BCF37 #6BDB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AA227#FFFFFF#000000##000000
##2AA2271.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2aa227;
/* rgb */ color: rgb(42, 162, 39);
/* oklch */ color: oklch(62.4% 0.190 142.6);
Tailwind
colors: {
  custom: {
    50: '#77bf6a',
    500: '#2aa227',
    950: '#000000',
  },
}
SCSS
$custom: #2aa227;
$custom-light: #77bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa227",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 118.537,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62393,
    "c": 0.18983,
    "h": 142.6
  },
  "luminance": 0.26479
}

Semantic roles & 50–950 ramp

primary
#2AA227
secondary
#BF64C1
accent
#43E4E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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