#2F8D45#2F8D45

#2F8D45 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.139 H 147.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8D45
RGBrgb(47, 141, 69)
HSLhsl(134, 50%, 37%)
HSVhsv(134, 67%, 55%)
CMYKcmyk(66.7%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.93, -43.58, 30.37)
CIE-LCHlch(51.93, 53.12, 145.13°)
OKLaboklab(57.09% -0.1176 0.0736)
OKLCHoklch(57.09% 0.139 147.9)
XYZxyz(11.7705, 20.0825, 8.8851)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D45 #8D2F77
analogous
#488D2F #2F8D45 #2F8D74
triadic
#2F8D45 #452F8D #8D452F
tetradic
#2F8D45 #2F488D #8D2F77 #8D742F
square
#2F8D45 #2F488D #8D2F77 #8D742F
split-complementary
#2F8D45 #742F8D #8D2F48
monochromatic
#103118 #205F2F #2F8D45 #3EBB5B #69CD81

Accessibility & contrast

On white

4.19
#2F8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D45
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D45#FFFFFF#000000##000000
##2F8D451.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E813F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#0F8A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d45;
/* rgb */ color: rgb(47, 141, 69);
/* oklch */ color: oklch(57.1% 0.139 147.9);
Tailwind
colors: {
  custom: {
    50: '#73af7a',
    500: '#2f8d45',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d45;
$custom-light: #73af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d45",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 134.043,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.13873,
    "h": 147.9
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#2F8D45
secondary
#B464A1
accent
#4EB9DA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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