#2F8458#2F8458

#2F8458 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.107 H 157.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F8458
RGBrgb(47, 132, 88)
HSLhsl(149, 47%, 35%)
HSVhsv(149, 64%, 52%)
CMYKcmyk(64.4%, 0%, 33.3%, 48.2%)
CIE-LABlab(49.27, -36.30, 16.43)
CIE-LCHlch(49.27, 39.85, 155.65°)
OKLaboklab(55% -0.0988 0.0415)
OKLCHoklch(55% 0.107 157.2)
XYZxyz(11.1840, 17.8103, 12.0790)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8458 #842F5B
analogous
#31842F #2F8458 #2F8482
triadic
#2F8458 #582F84 #84582F
tetradic
#2F8458 #2F3184 #842F5B #84822F
square
#2F8458 #2F3184 #842F5B #84822F
split-complementary
#2F8458 #822F84 #842F31
monochromatic
#0F2A1C #1F573A #2F8458 #3FB176 #65C895

Accessibility & contrast

On white

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

On black

4.56
#2F8458 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F8458#FFFFFF#000000##FFFFFF
##2F84581.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A55
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#028378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8458;
/* rgb */ color: rgb(47, 132, 88);
/* oklch */ color: oklch(55.0% 0.107 157.2);
Tailwind
colors: {
  custom: {
    50: '#71a887',
    500: '#2f8458',
    950: '#000000',
  },
}
SCSS
$custom: #2f8458;
$custom-light: #71a887;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8458",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 88
  },
  "hsl": {
    "h": 148.941,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55004,
    "c": 0.10713,
    "h": 157.2
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#2F8458
secondary
#AF6089
accent
#5196D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F8458

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

Preview Lab → · Contrast checker → · Palette generator →

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