#2F8E37#2F8E37

#2F8E37 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.153 H 144.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F8E37
RGBrgb(47, 142, 55)
HSLhsl(125, 50%, 37%)
HSVhsv(125, 67%, 56%)
CMYKcmyk(66.9%, 0%, 61.3%, 44.3%)
CIE-LABlab(52.09, -45.95, 37.62)
CIE-LCHlch(52.09, 59.39, 140.69°)
OKLaboklab(57.17% -0.1244 0.0886)
OKLCHoklch(57.17% 0.153 144.6)
XYZxyz(11.5342, 20.2250, 6.9097)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E37 #8E2F86
analogous
#568E2F #2F8E37 #2F8E67
triadic
#2F8E37 #372F8E #8E372F
tetradic
#2F8E37 #2F568E #8E2F86 #8E672F
square
#2F8E37 #2F568E #8E2F86 #8E672F
split-complementary
#2F8E37 #672F8E #8E2F56
monochromatic
#113213 #206025 #2F8E37 #3EBC49 #6ACE72

Accessibility & contrast

On white

4.16
#2F8E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2F8E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E37
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E37#FFFFFF#000000##000000
##2F8E371.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#168A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e37;
/* rgb */ color: rgb(47, 142, 55);
/* oklch */ color: oklch(57.2% 0.153 144.6);
Tailwind
colors: {
  custom: {
    50: '#74b071',
    500: '#2f8e37',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e37;
$custom-light: #74b071;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e37",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 55
  },
  "hsl": {
    "h": 125.053,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.15271,
    "h": 144.6
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#2F8E37
secondary
#B564AE
accent
#4ECEDA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F8E37

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

Preview Lab → · Contrast checker → · Palette generator →

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