#2F951E#2F951E

#2F951E is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.178 H 141.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F951E
RGBrgb(47, 149, 30)
HSLhsl(111, 66%, 35%)
HSVhsv(111, 80%, 58%)
CMYKcmyk(68.5%, 0%, 79.9%, 41.6%)
CIE-LABlab(54.23, -50.82, 50.09)
CIE-LCHlch(54.23, 71.35, 135.41°)
OKLaboklab(58.88% -0.1389 0.1117)
OKLCHoklch(58.88% 0.178 141.2)
XYZxyz(12.1534, 22.1917, 4.8710)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F951E #841E95
analogous
#6A951E #2F951E #1E9549
triadic
#2F951E #1E2F95 #951E2F
tetradic
#2F951E #1E6A95 #841E95 #95491E
square
#2F951E #1E6A95 #841E95 #95491E
split-complementary
#2F951E #491E95 #951E6A
monochromatic
#0F2F09 #1F6214 #2F951E #3FC828 #65DC51

Accessibility & contrast

On white

3.86
#2F951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F951E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F951E#FFFFFF#000000##000000
##2F951E1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f951e;
/* rgb */ color: rgb(47, 149, 30);
/* oklch */ color: oklch(58.9% 0.178 141.2);
Tailwind
colors: {
  custom: {
    50: '#77b564',
    500: '#2f951e',
    950: '#000000',
  },
}
SCSS
$custom: #2f951e;
$custom-light: #77b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2f951e",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 111.429,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.17824,
    "h": 141.2
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#2F951E
secondary
#AF50BF
accent
#3EE9D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F951E

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

Preview Lab → · Contrast checker → · Palette generator →

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