#2F955F#2F955F

#2F955F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.8% C 0.125 H 155.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F955F
RGBrgb(47, 149, 95)
HSLhsl(148, 52%, 38%)
HSVhsv(148, 68%, 58%)
CMYKcmyk(68.5%, 0%, 36.2%, 41.6%)
CIE-LABlab(54.99, -42.05, 20.24)
CIE-LCHlch(54.99, 46.67, 154.29°)
OKLaboklab(59.75% -0.1139 0.0509)
OKLCHoklch(59.75% 0.125 155.9)
XYZxyz(13.9840, 22.9239, 14.5120)
Luminance0.2293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F955F #952F65
analogous
#32952F #2F955F #2F9592
triadic
#2F955F #5F2F95 #955F2F
tetradic
#2F955F #2F3295 #952F65 #95922F
square
#2F955F #2F3295 #952F65 #95922F
split-complementary
#2F955F #922F95 #952F32
monochromatic
#123824 #206641 #2F955F #3FC27D #6DD19C

Accessibility & contrast

On white

3.76
#2F955F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#2F955F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F955F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F955F#FFFFFF#000000##000000
##2F955F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94895B
Deuteranopia (green-blind)
#878062
Tritanopia (blue-blind)
#009487
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f955f;
/* rgb */ color: rgb(47, 149, 95);
/* oklch */ color: oklch(59.8% 0.125 155.9);
Tailwind
colors: {
  custom: {
    50: '#74b58d',
    500: '#2f955f',
    950: '#000000',
  },
}
SCSS
$custom: #2f955f;
$custom-light: #74b58d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f955f",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 95
  },
  "hsl": {
    "h": 148.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.12475,
    "h": 155.9
  },
  "luminance": 0.22925
}

Semantic roles & 50–950 ramp

primary
#2F955F
secondary
#B86792
accent
#4C98DB
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #2F955F

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

Preview Lab → · Contrast checker → · Palette generator →

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