#3AA228#3AA228

#3AA228 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.184 H 141.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#3AA228
RGBrgb(58, 162, 40)
HSLhsl(111, 60%, 40%)
HSVhsv(111, 75%, 64%)
CMYKcmyk(64.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.87, -52.25, 51.31)
CIE-LCHlch(58.87, 73.23, 135.52°)
OKLaboklab(62.82% -0.1429 0.1156)
OKLCHoklch(62.82% 0.184 141)
XYZxyz(15.0475, 26.8919, 6.4047)
Luminance0.2689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3AA228 #9028A2
analogous
#77A228 #3AA228 #28A253
triadic
#3AA228 #283AA2 #A2283A
tetradic
#3AA228 #2877A2 #9028A2 #A25328
square
#3AA228 #2877A2 #9028A2 #A25328
split-complementary
#3AA228 #5328A2 #A22877
monochromatic
#174010 #28711C #3AA228 #4FCE39 #7BDA6A

Accessibility & contrast

On white

3.29
#3AA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#3AA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3AA228
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3AA228#FFFFFF#000000##000000
##3AA2281.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930F
Deuteranopia (green-blind)
#9A8A35
Tritanopia (blue-blind)
#289D8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #3aa228;
/* rgb */ color: rgb(58, 162, 40);
/* oklch */ color: oklch(62.8% 0.184 141.0);
Tailwind
colors: {
  custom: {
    50: '#7ebe6a',
    500: '#3aa228',
    950: '#000000',
  },
}
SCSS
$custom: #3aa228;
$custom-light: #7ebe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3aa228",
  "rgb": {
    "r": 58,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 111.148,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.18378,
    "h": 141
  },
  "luminance": 0.26893
}

Semantic roles & 50–950 ramp

primary
#3AA228
secondary
#B365C1
accent
#44E4CC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #3AA228

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

Preview Lab → · Contrast checker → · Palette generator →

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