#2F9845#2F9845

#2F9845 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.154 H 147.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F9845
RGBrgb(47, 152, 69)
HSLhsl(133, 53%, 39%)
HSVhsv(133, 69%, 60%)
CMYKcmyk(69.1%, 0%, 54.6%, 40.4%)
CIE-LABlab(55.57, -47.80, 34.84)
CIE-LCHlch(55.57, 59.15, 143.91°)
OKLaboklab(60.1% -0.1289 0.0836)
OKLCHoklch(60.1% 0.154 147)
XYZxyz(13.4737, 23.4890, 9.4528)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9845 #982F82
analogous
#4E982F #2F9845 #2F987A
triadic
#2F9845 #452F98 #98452F
tetradic
#2F9845 #2F4E98 #982F82 #987A2F
square
#2F9845 #2F4E98 #982F82 #987A2F
split-complementary
#2F9845 #7A2F98 #982F4E
monochromatic
#123B1B #216930 #2F9845 #40C45C #6FD284

Accessibility & contrast

On white

3.69
#2F9845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#2F9845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9845
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9845#FFFFFF#000000##000000
##2F98451.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A3D
Deuteranopia (green-blind)
#8D824B
Tritanopia (blue-blind)
#039585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9845;
/* rgb */ color: rgb(47, 152, 69);
/* oklch */ color: oklch(60.1% 0.154 147.0);
Tailwind
colors: {
  custom: {
    50: '#76b77b',
    500: '#2f9845',
    950: '#000000',
  },
}
SCSS
$custom: #2f9845;
$custom-light: #76b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9845",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 69
  },
  "hsl": {
    "h": 132.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.15363,
    "h": 147
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

primary
#2F9845
secondary
#BA69A9
accent
#4CBEDC
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9845

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

Preview Lab → · Contrast checker → · Palette generator →

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