#2F8548#2F8548

#2F8548 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.124 H 149.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F8548
RGBrgb(47, 133, 72)
HSLhsl(137, 48%, 35%)
HSVhsv(137, 65%, 52%)
CMYKcmyk(64.7%, 0%, 45.9%, 47.8%)
CIE-LABlab(49.31, -39.86, 25.45)
CIE-LCHlch(49.31, 47.29, 147.44°)
OKLaboklab(54.95% -0.1076 0.0626)
OKLCHoklch(54.95% 0.124 149.8)
XYZxyz(10.7287, 17.8462, 9.0089)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8548 #852F6C
analogous
#41852F #2F8548 #2F8573
triadic
#2F8548 #482F85 #85482F
tetradic
#2F8548 #2F4185 #852F6C #85732F
square
#2F8548 #2F4185 #852F6C #85732F
split-complementary
#2F8548 #732F85 #852F41
monochromatic
#0F2B17 #1F5830 #2F8548 #3FB260 #66C982

Accessibility & contrast

On white

4.60
#2F8548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F8548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8548
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8548#FFFFFF#000000##FFFFFF
##2F85481.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#128376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8548;
/* rgb */ color: rgb(47, 133, 72);
/* oklch */ color: oklch(54.9% 0.124 149.8);
Tailwind
colors: {
  custom: {
    50: '#72a97c',
    500: '#2f8548',
    950: '#000000',
  },
}
SCSS
$custom: #2f8548;
$custom-light: #72a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8548",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 137.442,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.12449,
    "h": 149.8
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#2F8548
secondary
#B06099
accent
#50B0D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8548

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

Preview Lab → · Contrast checker → · Palette generator →

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