#2F9847#2F9847

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

Color values

HEX#2F9847
RGBrgb(47, 152, 71)
HSLhsl(134, 53%, 39%)
HSVhsv(134, 69%, 60%)
CMYKcmyk(69.1%, 0%, 53.3%, 40.4%)
CIE-LABlab(55.60, -47.50, 33.86)
CIE-LCHlch(55.60, 58.33, 144.52°)
OKLaboklab(60.13% -0.1281 0.0815)
OKLCHoklch(60.13% 0.152 147.5)
XYZxyz(13.5369, 23.5143, 9.7853)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9847 #982F80
analogous
#4C982F #2F9847 #2F987C
triadic
#2F9847 #472F98 #98472F
tetradic
#2F9847 #2F4C98 #982F80 #987C2F
square
#2F9847 #2F4C98 #982F80 #987C2F
split-complementary
#2F9847 #7C2F98 #982F4C
monochromatic
#123B1B #216931 #2F9847 #40C45E #6FD286

Accessibility & contrast

On white

3.68
#2F9847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9847#FFFFFF#000000##000000
##2F98471.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B40
Deuteranopia (green-blind)
#8D824D
Tritanopia (blue-blind)
#019585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9847;
/* rgb */ color: rgb(47, 152, 71);
/* oklch */ color: oklch(60.1% 0.152 147.5);
Tailwind
colors: {
  custom: {
    50: '#76b77c',
    500: '#2f9847',
    950: '#000000',
  },
}
SCSS
$custom: #2f9847;
$custom-light: #76b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9847",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 71
  },
  "hsl": {
    "h": 133.714,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.15181,
    "h": 147.5
  },
  "luminance": 0.23516
}

Semantic roles & 50–950 ramp

primary
#2F9847
secondary
#BA69A7
accent
#4CBBDC
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9847

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

Preview Lab → · Contrast checker → · Palette generator →

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