#2F8348#2F8348

#2F8348 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.122 H 150.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8348
RGBrgb(47, 131, 72)
HSLhsl(138, 47%, 35%)
HSVhsv(138, 64%, 51%)
CMYKcmyk(64.1%, 0%, 45%, 48.6%)
CIE-LABlab(48.64, -39.03, 24.59)
CIE-LCHlch(48.64, 46.13, 147.79°)
OKLaboklab(54.4% -0.1054 0.0606)
OKLCHoklch(54.4% 0.122 150.1)
XYZxyz(10.4575, 17.3038, 8.9185)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8348 #832F6A
analogous
#40832F #2F8348 #2F8372
triadic
#2F8348 #482F83 #83482F
tetradic
#2F8348 #2F4083 #832F6A #83722F
square
#2F8348 #2F4083 #832F6A #83722F
split-complementary
#2F8348 #722F83 #832F40
monochromatic
#0F2916 #1F562F #2F8348 #3FB061 #65C882

Accessibility & contrast

On white

4.71
#2F8348 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F8348 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8348
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8348#FFFFFF#000000##FFFFFF
##2F83481.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847844
Deuteranopia (green-blind)
#79714C
Tritanopia (blue-blind)
#138175
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8348;
/* rgb */ color: rgb(47, 131, 72);
/* oklch */ color: oklch(54.4% 0.122 150.1);
Tailwind
colors: {
  custom: {
    50: '#71a87c',
    500: '#2f8348',
    950: '#000000',
  },
}
SCSS
$custom: #2f8348;
$custom-light: #71a87c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8348",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 137.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.1216,
    "h": 150.1
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#2F8348
secondary
#AF5F97
accent
#51AFD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8348

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

Preview Lab → · Contrast checker → · Palette generator →

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