#2F8148#2F8148

#2F8148 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.119 H 150.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8148
RGBrgb(47, 129, 72)
HSLhsl(138, 47%, 35%)
HSVhsv(138, 64%, 51%)
CMYKcmyk(63.6%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.97, -38.20, 23.73)
CIE-LCHlch(47.97, 44.97, 148.15°)
OKLaboklab(53.85% -0.1032 0.0586)
OKLCHoklch(53.85% 0.119 150.4)
XYZxyz(10.1915, 16.7717, 8.8298)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8148 #812F68
analogous
#3F812F #2F8148 #2F8171
triadic
#2F8148 #482F81 #81482F
tetradic
#2F8148 #2F3F81 #812F68 #81712F
square
#2F8148 #2F3F81 #812F68 #81712F
split-complementary
#2F8148 #712F81 #812F3F
monochromatic
#0E2716 #1F542F #2F8148 #3FAE61 #64C682

Accessibility & contrast

On white

4.82
#2F8148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F8148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8148
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8148#FFFFFF#000000##FFFFFF
##2F81481.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827644
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#157F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8148;
/* rgb */ color: rgb(47, 129, 72);
/* oklch */ color: oklch(53.8% 0.119 150.4);
Tailwind
colors: {
  custom: {
    50: '#71a67c',
    500: '#2f8148',
    950: '#000000',
  },
}
SCSS
$custom: #2f8148;
$custom-light: #71a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8148",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 138.293,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.11867,
    "h": 150.4
  },
  "luminance": 0.16773
}

Semantic roles & 50–950 ramp

primary
#2F8148
secondary
#AD5E95
accent
#52AED6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8148

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

Preview Lab → · Contrast checker → · Palette generator →

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