#2F8151#2F8151

#2F8151 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.110 H 154.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8151
RGBrgb(47, 129, 81)
HSLhsl(145, 47%, 35%)
HSVhsv(145, 64%, 51%)
CMYKcmyk(63.6%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.13, -36.46, 18.88)
CIE-LCHlch(48.13, 41.06, 152.62°)
OKLaboklab(54.03% -0.0988 0.0474)
OKLCHoklch(54.03% 0.11 154.4)
XYZxyz(10.5069, 16.8979, 10.4909)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8151 #812F5F
analogous
#36812F #2F8151 #2F817A
triadic
#2F8151 #512F81 #81512F
tetradic
#2F8151 #2F3681 #812F5F #817A2F
square
#2F8151 #2F3681 #812F5F #817A2F
split-complementary
#2F8151 #7A2F81 #812F36
monochromatic
#0E2719 #1F5435 #2F8151 #3FAE6D #64C68D

Accessibility & contrast

On white

4.79
#2F8151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F8151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8151
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8151#FFFFFF#000000##FFFFFF
##2F81511.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#0D8075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8151;
/* rgb */ color: rgb(47, 129, 81);
/* oklch */ color: oklch(54.0% 0.110 154.4);
Tailwind
colors: {
  custom: {
    50: '#71a682',
    500: '#2f8151',
    950: '#000000',
  },
}
SCSS
$custom: #2f8151;
$custom-light: #71a682;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8151",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 144.878,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.10961,
    "h": 154.4
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#2F8151
secondary
#AD5E8D
accent
#529FD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F8151

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

Preview Lab → · Contrast checker → · Palette generator →

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