#2F8451#2F8451

#2F8451 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.8% C 0.114 H 153.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8451
RGBrgb(47, 132, 81)
HSLhsl(144, 47%, 35%)
HSVhsv(144, 64%, 52%)
CMYKcmyk(64.4%, 0%, 38.6%, 48.2%)
CIE-LABlab(49.13, -37.75, 20.22)
CIE-LCHlch(49.13, 42.82, 151.83°)
OKLaboklab(54.85% -0.1022 0.0506)
OKLCHoklch(54.85% 0.114 153.7)
XYZxyz(10.9079, 17.6998, 10.6246)
Luminance0.1770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8451 #842F62
analogous
#37842F #2F8451 #2F847B
triadic
#2F8451 #512F84 #84512F
tetradic
#2F8451 #2F3784 #842F62 #847B2F
square
#2F8451 #2F3784 #842F62 #847B2F
split-complementary
#2F8451 #7B2F84 #842F37
monochromatic
#0F2A1A #1F5735 #2F8451 #3FB16D #65C88D

Accessibility & contrast

On white

4.63
#2F8451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F8451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8451
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8451#FFFFFF#000000##FFFFFF
##2F84511.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794E
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#0B8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8451;
/* rgb */ color: rgb(47, 132, 81);
/* oklch */ color: oklch(54.8% 0.114 153.7);
Tailwind
colors: {
  custom: {
    50: '#71a882',
    500: '#2f8451',
    950: '#000000',
  },
}
SCSS
$custom: #2f8451;
$custom-light: #71a882;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8451",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 144,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54849,
    "c": 0.11404,
    "h": 153.7
  },
  "luminance": 0.17701
}

Semantic roles & 50–950 ramp

primary
#2F8451
secondary
#AF608F
accent
#51A1D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8451

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

Preview Lab → · Contrast checker → · Palette generator →

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