#2F952A#2F952A

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

Color values

HEX#2F952A
RGBrgb(47, 149, 42)
HSLhsl(117, 56%, 37%)
HSVhsv(117, 72%, 58%)
CMYKcmyk(68.5%, 0%, 71.8%, 41.6%)
CIE-LABlab(54.31, -49.89, 45.81)
CIE-LCHlch(54.31, 67.73, 137.44°)
OKLaboklab(58.96% -0.1357 0.1045)
OKLCHoklch(58.96% 0.171 142.4)
XYZxyz(12.3370, 22.2651, 5.8375)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F952A #902A95
analogous
#65952A #2F952A #2A955A
triadic
#2F952A #2A2F95 #952A2F
tetradic
#2F952A #2A6595 #902A95 #955A2A
square
#2F952A #2A6595 #902A95 #955A2A
split-complementary
#2F952A #5A2A95 #952A65
monochromatic
#11360F #20651D #2F952A #3EC537 #6BD466

Accessibility & contrast

On white

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

On black

5.45
#2F952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F952A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F952A#FFFFFF#000000##000000
##2F952A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#179080
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f952a;
/* rgb */ color: rgb(47, 149, 42);
/* oklch */ color: oklch(59.0% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#76b56a',
    500: '#2f952a',
    950: '#000000',
  },
}
SCSS
$custom: #2f952a;
$custom-light: #76b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f952a",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 117.196,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58964,
    "c": 0.17127,
    "h": 142.4
  },
  "luminance": 0.22266
}

Semantic roles & 50–950 ramp

primary
#2F952A
secondary
#B661BA
accent
#48DFD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F952A

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

Preview Lab → · Contrast checker → · Palette generator →

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