#2F8A45#2F8A45

#2F8A45 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.135 H 148.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8A45
RGBrgb(47, 138, 69)
HSLhsl(135, 49%, 36%)
HSVhsv(135, 66%, 54%)
CMYKcmyk(65.9%, 0%, 50%, 45.9%)
CIE-LABlab(50.93, -42.39, 29.13)
CIE-LCHlch(50.93, 51.44, 145.51°)
OKLaboklab(56.27% -0.1144 0.0708)
OKLCHoklch(56.27% 0.135 148.2)
XYZxyz(11.3341, 19.2098, 8.7396)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A45 #8A2F74
analogous
#478A2F #2F8A45 #2F8A73
triadic
#2F8A45 #452F8A #8A452F
tetradic
#2F8A45 #2F478A #8A2F74 #8A732F
square
#2F8A45 #2F478A #8A2F74 #8A732F
split-complementary
#2F8A45 #732F8A #8A2F47
monochromatic
#102F17 #1F5C2E #2F8A45 #3FB85C #68CC80

Accessibility & contrast

On white

4.34
#2F8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A45
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A45#FFFFFF#000000##000000
##2F8A451.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#11877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a45;
/* rgb */ color: rgb(47, 138, 69);
/* oklch */ color: oklch(56.3% 0.135 148.2);
Tailwind
colors: {
  custom: {
    50: '#73ad7a',
    500: '#2f8a45',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a45;
$custom-light: #73ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a45",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 134.505,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.13456,
    "h": 148.2
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#2F8A45
secondary
#B3629F
accent
#4FB7D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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