#2F8F37#2F8F37

#2F8F37 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.154 H 144.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F8F37
RGBrgb(47, 143, 55)
HSLhsl(125, 51%, 37%)
HSVhsv(125, 67%, 56%)
CMYKcmyk(67.1%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.42, -46.32, 38.01)
CIE-LCHlch(52.42, 59.92, 140.63°)
OKLaboklab(57.44% -0.1254 0.0894)
OKLCHoklch(57.44% 0.154 144.5)
XYZxyz(11.6836, 20.5239, 6.9595)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F37 #8F2F87
analogous
#578F2F #2F8F37 #2F8F67
triadic
#2F8F37 #372F8F #8F372F
tetradic
#2F8F37 #2F578F #8F2F87 #8F672F
square
#2F8F37 #2F578F #8F2F87 #8F672F
split-complementary
#2F8F37 #672F8F #8F2F57
monochromatic
#113314 #206125 #2F8F37 #3EBD49 #6ACE73

Accessibility & contrast

On white

4.11
#2F8F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2F8F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F37
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F37#FFFFFF#000000##000000
##2F8F371.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#867A3E
Tritanopia (blue-blind)
#168B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f37;
/* rgb */ color: rgb(47, 143, 55);
/* oklch */ color: oklch(57.4% 0.154 144.5);
Tailwind
colors: {
  custom: {
    50: '#74b171',
    500: '#2f8f37',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f37;
$custom-light: #74b171;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f37",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.15402,
    "h": 144.5
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#2F8F37
secondary
#B565AF
accent
#4ECEDA
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F8F37

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

Preview Lab → · Contrast checker → · Palette generator →

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