#2F8E30#2F8E30

#2F8E30 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.158 H 143.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F8E30
RGBrgb(47, 142, 48)
HSLhsl(121, 50%, 37%)
HSVhsv(121, 67%, 56%)
CMYKcmyk(66.9%, 0%, 66.2%, 44.3%)
CIE-LABlab(52.02, -46.77, 40.80)
CIE-LCHlch(52.02, 62.06, 138.90°)
OKLaboklab(57.09% -0.127 0.0946)
OKLCHoklch(57.09% 0.158 143.3)
XYZxyz(11.3781, 20.1626, 6.0879)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E30 #8E2F8D
analogous
#5D8E2F #2F8E30 #2F8E60
triadic
#2F8E30 #302F8E #8E302F
tetradic
#2F8E30 #2F5D8E #8E2F8D #8E602F
square
#2F8E30 #2F5D8E #8E2F8D #8E602F
split-complementary
#2F8E30 #602F8E #8E2F5D
monochromatic
#113211 #206020 #2F8E30 #3EBC40 #6ACE6B

Accessibility & contrast

On white

4.17
#2F8E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F8E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E30
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E30#FFFFFF#000000##000000
##2F8E301.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e30;
/* rgb */ color: rgb(47, 142, 48);
/* oklch */ color: oklch(57.1% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#74b06d',
    500: '#2f8e30',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e30;
$custom-light: #74b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e30",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 120.632,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.15835,
    "h": 143.3
  },
  "luminance": 0.20164
}

Semantic roles & 50–950 ramp

primary
#2F8E30
secondary
#B564B4
accent
#4ED8DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2F8E30

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

Preview Lab → · Contrast checker → · Palette generator →

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