#2F8450#2F8450

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

Color values

HEX#2F8450
RGBrgb(47, 132, 80)
HSLhsl(143, 47%, 35%)
HSVhsv(143, 64%, 52%)
CMYKcmyk(64.4%, 0%, 39.4%, 48.2%)
CIE-LABlab(49.11, -37.95, 20.76)
CIE-LCHlch(49.11, 43.26, 151.33°)
OKLaboklab(54.83% -0.1027 0.0518)
OKLCHoklch(54.83% 0.115 153.2)
XYZxyz(10.8706, 17.6850, 10.4285)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8450 #842F63
analogous
#39842F #2F8450 #2F847A
triadic
#2F8450 #502F84 #84502F
tetradic
#2F8450 #2F3984 #842F63 #847A2F
square
#2F8450 #2F3984 #842F63 #847A2F
split-complementary
#2F8450 #7A2F84 #842F39
monochromatic
#0F2A19 #1F5735 #2F8450 #3FB16B #65C88C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8450#FFFFFF#000000##FFFFFF
##2F84501.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)
#84794C
Deuteranopia (green-blind)
#797253
Tritanopia (blue-blind)
#0C8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8450;
/* rgb */ color: rgb(47, 132, 80);
/* oklch */ color: oklch(54.8% 0.115 153.2);
Tailwind
colors: {
  custom: {
    50: '#71a881',
    500: '#2f8450',
    950: '#000000',
  },
}
SCSS
$custom: #2f8450;
$custom-light: #71a881;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8450",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 80
  },
  "hsl": {
    "h": 143.294,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.11503,
    "h": 153.2
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#2F8450
secondary
#AF6090
accent
#51A3D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8450

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

Preview Lab → · Contrast checker → · Palette generator →

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