#3FA228#3FA228

#3FA228 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.182 H 140.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3FA228
RGBrgb(63, 162, 40)
HSLhsl(109, 60%, 40%)
HSVhsv(109, 75%, 64%)
CMYKcmyk(61.1%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.02, -51.06, 51.51)
CIE-LCHlch(59.02, 72.53, 134.75°)
OKLaboklab(62.99% -0.14 0.116)
OKLCHoklch(62.99% 0.182 140.4)
XYZxyz(15.3525, 27.0492, 6.4190)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3FA228 #8B28A2
analogous
#7CA228 #3FA228 #28A24E
triadic
#3FA228 #283FA2 #A2283F
tetradic
#3FA228 #287CA2 #8B28A2 #A24E28
square
#3FA228 #287CA2 #8B28A2 #A24E28
split-complementary
#3FA228 #4E28A2 #A2287C
monochromatic
#194010 #2C711C #3FA228 #55CE39 #7FDA6A

Accessibility & contrast

On white

3.28
#3FA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#3FA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3FA228
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3FA228#FFFFFF#000000##000000
##3FA2281.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3fa228;
/* rgb */ color: rgb(63, 162, 40);
/* oklch */ color: oklch(63.0% 0.182 140.4);
Tailwind
colors: {
  custom: {
    50: '#80be6b',
    500: '#3fa228',
    950: '#000000',
  },
}
SCSS
$custom: #3fa228;
$custom-light: #80be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3fa228",
  "rgb": {
    "r": 63,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 108.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62986,
    "c": 0.18176,
    "h": 140.4
  },
  "luminance": 0.27051
}

Semantic roles & 50–950 ramp

primary
#3FA228
secondary
#AF65C1
accent
#44E4C6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #3FA228

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

Preview Lab → · Contrast checker → · Palette generator →

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