#2F952F#2F952F

#2F952F is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.168 H 143.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F952F
RGBrgb(47, 149, 47)
HSLhsl(120, 52%, 38%)
HSVhsv(120, 68%, 58%)
CMYKcmyk(68.5%, 0%, 68.5%, 41.6%)
CIE-LABlab(54.35, -49.41, 43.78)
CIE-LCHlch(54.35, 66.01, 138.46°)
OKLaboklab(59.01% -0.1342 0.1008)
OKLCHoklch(59.01% 0.168 143.1)
XYZxyz(12.4321, 22.3032, 6.3385)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F952F #952F95
analogous
#62952F #2F952F #2F9562
triadic
#2F952F #2F2F95 #952F2F
tetradic
#2F952F #2F6295 #952F95 #95622F
square
#2F952F #2F6295 #952F95 #95622F
split-complementary
#2F952F #622F95 #952F62
monochromatic
#123812 #206620 #2F952F #3FC23F #6DD16D

Accessibility & contrast

On white

3.85
#2F952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#2F952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F952F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F952F#FFFFFF#000000##000000
##2F952F1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#8C7F38
Tritanopia (blue-blind)
#159180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f952f;
/* rgb */ color: rgb(47, 149, 47);
/* oklch */ color: oklch(59.0% 0.168 143.1);
Tailwind
colors: {
  custom: {
    50: '#76b56d',
    500: '#2f952f',
    950: '#000000',
  },
}
SCSS
$custom: #2f952f;
$custom-light: #76b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f952f",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5901,
    "c": 0.16783,
    "h": 143.1
  },
  "luminance": 0.22304
}

Semantic roles & 50–950 ramp

primary
#2F952F
secondary
#B867B8
accent
#4CDBDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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