#2F8150#2F8150

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

Color values

HEX#2F8150
RGBrgb(47, 129, 80)
HSLhsl(144, 47%, 35%)
HSVhsv(144, 64%, 51%)
CMYKcmyk(63.6%, 0%, 38%, 49.4%)
CIE-LABlab(48.11, -36.66, 19.42)
CIE-LCHlch(48.11, 41.49, 152.09°)
OKLaboklab(54.01% -0.0993 0.0486)
OKLCHoklch(54.01% 0.111 153.9)
XYZxyz(10.4696, 16.8830, 10.2949)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8150 #812F60
analogous
#37812F #2F8150 #2F8179
triadic
#2F8150 #502F81 #81502F
tetradic
#2F8150 #2F3781 #812F60 #81792F
square
#2F8150 #2F3781 #812F60 #81792F
split-complementary
#2F8150 #792F81 #812F37
monochromatic
#0E2718 #1F5434 #2F8150 #3FAE6C #64C68C

Accessibility & contrast

On white

4.80
#2F8150 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F8150
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8150#FFFFFF#000000##FFFFFF
##2F81501.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774D
Deuteranopia (green-blind)
#766F53
Tritanopia (blue-blind)
#0E7F75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8150;
/* rgb */ color: rgb(47, 129, 80);
/* oklch */ color: oklch(54.0% 0.111 153.9);
Tailwind
colors: {
  custom: {
    50: '#71a681',
    500: '#2f8150',
    950: '#000000',
  },
}
SCSS
$custom: #2f8150;
$custom-light: #71a681;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8150",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 80
  },
  "hsl": {
    "h": 144.146,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.11061,
    "h": 153.9
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#2F8150
secondary
#AD5E8E
accent
#52A1D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F8150

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

Preview Lab → · Contrast checker → · Palette generator →

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