#2AA238#2AA238

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

Color values

HEX#2AA238
RGBrgb(42, 162, 56)
HSLhsl(127, 59%, 40%)
HSVhsv(127, 74%, 64%)
CMYKcmyk(74.1%, 0%, 65.4%, 36.5%)
CIE-LABlab(58.62, -53.92, 44.50)
CIE-LCHlch(58.62, 69.92, 140.47°)
OKLaboklab(62.54% -0.1457 0.1034)
OKLCHoklch(62.54% 0.179 144.6)
XYZxyz(14.5880, 26.6168, 8.1093)
Luminance0.2662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA238 #A22A94
analogous
#58A22A #2AA238 #2AA274
triadic
#2AA238 #382AA2 #A2382A
tetradic
#2AA238 #2A58A2 #A22A94 #A2742A
square
#2AA238 #2A58A2 #A22A94 #A2742A
split-complementary
#2AA238 #742AA2 #A22A58
monochromatic
#114116 #1D7127 #2AA238 #3DCD4D #6DD97A

Accessibility & contrast

On white

3.32
#2AA238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#2AA238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA238
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA238#FFFFFF#000000##000000
##2AA2381.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2aa238;
/* rgb */ color: rgb(42, 162, 56);
/* oklch */ color: oklch(62.5% 0.179 144.6);
Tailwind
colors: {
  custom: {
    50: '#77bf73',
    500: '#2aa238',
    950: '#000000',
  },
}
SCSS
$custom: #2aa238;
$custom-light: #77bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa238",
  "rgb": {
    "r": 42,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 127,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.17868,
    "h": 144.6
  },
  "luminance": 0.26618
}

Semantic roles & 50–950 ramp

primary
#2AA238
secondary
#C068B6
accent
#46D0E2
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2AA238

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

Preview Lab → · Contrast checker → · Palette generator →

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