#2F8459#2F8459

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

Color values

HEX#2F8459
RGBrgb(47, 132, 89)
HSLhsl(150, 47%, 35%)
HSVhsv(150, 64%, 52%)
CMYKcmyk(64.4%, 0%, 32.6%, 48.2%)
CIE-LABlab(49.29, -36.09, 15.88)
CIE-LCHlch(49.29, 39.43, 156.24°)
OKLaboklab(55.03% -0.0983 0.0402)
OKLCHoklch(55.03% 0.106 157.8)
XYZxyz(11.2257, 17.8270, 12.2986)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8459 #842F5A
analogous
#30842F #2F8459 #2F8483
triadic
#2F8459 #592F84 #84592F
tetradic
#2F8459 #2F3084 #842F5A #84832F
square
#2F8459 #2F3084 #842F5A #84832F
split-complementary
#2F8459 #832F84 #842F30
monochromatic
#0F2A1C #1F573B #2F8459 #3FB177 #65C896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8459#FFFFFF#000000##FFFFFF
##2F84591.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)
#837A56
Deuteranopia (green-blind)
#78725C
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8459;
/* rgb */ color: rgb(47, 132, 89);
/* oklch */ color: oklch(55.0% 0.106 157.8);
Tailwind
colors: {
  custom: {
    50: '#71a888',
    500: '#2f8459',
    950: '#000000',
  },
}
SCSS
$custom: #2f8459;
$custom-light: #71a888;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8459",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 89
  },
  "hsl": {
    "h": 149.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.10616,
    "h": 157.8
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#2F8459
secondary
#AF6088
accent
#5195D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F8459

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

Preview Lab → · Contrast checker → · Palette generator →

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