#2F9240#2F9240

#2F9240 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.4% C 0.150 H 146.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2F9240
RGBrgb(47, 146, 64)
HSLhsl(130, 51%, 38%)
HSVhsv(130, 68%, 57%)
CMYKcmyk(67.8%, 0%, 56.2%, 42.7%)
CIE-LABlab(53.53, -46.26, 34.89)
CIE-LCHlch(53.53, 57.94, 142.97°)
OKLaboklab(58.39% -0.1249 0.0833)
OKLCHoklch(58.39% 0.15 146.3)
XYZxyz(12.3757, 21.5310, 8.3532)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9240 #922F81
analogous
#4F922F #2F9240 #2F9271
triadic
#2F9240 #402F92 #92402F
tetradic
#2F9240 #2F4F92 #922F81 #92712F
square
#2F9240 #2F4F92 #922F81 #92712F
split-complementary
#2F9240 #712F92 #922F4F
monochromatic
#113517 #20642C #2F9240 #3EC054 #6CD07D

Accessibility & contrast

On white

3.96
#2F9240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#2F9240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9240
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9240#FFFFFF#000000##000000
##2F92401.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948538
Deuteranopia (green-blind)
#887D46
Tritanopia (blue-blind)
#0E8F80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f9240;
/* rgb */ color: rgb(47, 146, 64);
/* oklch */ color: oklch(58.4% 0.150 146.3);
Tailwind
colors: {
  custom: {
    50: '#75b377',
    500: '#2f9240',
    950: '#000000',
  },
}
SCSS
$custom: #2f9240;
$custom-light: #75b377;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9240",
  "rgb": {
    "r": 47,
    "g": 146,
    "b": 64
  },
  "hsl": {
    "h": 130.303,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.15016,
    "h": 146.3
  },
  "luminance": 0.21532
}

Semantic roles & 50–950 ramp

primary
#2F9240
secondary
#B766A9
accent
#4DC2DB
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9240

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

Preview Lab → · Contrast checker → · Palette generator →

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