#2F951F#2F951F

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

Color values

HEX#2F951F
RGBrgb(47, 149, 31)
HSLhsl(112, 66%, 35%)
HSVhsv(112, 79%, 58%)
CMYKcmyk(68.5%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.24, -50.75, 49.77)
CIE-LCHlch(54.24, 71.08, 135.56°)
OKLaboklab(58.88% -0.1386 0.1112)
OKLCHoklch(58.88% 0.178 141.3)
XYZxyz(12.1664, 22.1969, 4.9393)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F951F #851F95
analogous
#6A951F #2F951F #1F954A
triadic
#2F951F #1F2F95 #951F2F
tetradic
#2F951F #1F6A95 #851F95 #954A1F
square
#2F951F #1F6A95 #851F95 #954A1F
split-complementary
#2F951F #4A1F95 #951F6A
monochromatic
#0F300A #1F6214 #2F951F #3FC82A #66DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F951F#FFFFFF#000000##000000
##2F951F1.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)
#8D7F2D
Tritanopia (blue-blind)
#1A907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f951f;
/* rgb */ color: rgb(47, 149, 31);
/* oklch */ color: oklch(58.9% 0.178 141.3);
Tailwind
colors: {
  custom: {
    50: '#77b564',
    500: '#2f951f',
    950: '#000000',
  },
}
SCSS
$custom: #2f951f;
$custom-light: #77b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2f951f",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 111.864,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.17773,
    "h": 141.3
  },
  "luminance": 0.22198
}

Semantic roles & 50–950 ramp

primary
#2F951F
secondary
#B051BF
accent
#3FE9D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F951F

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

Preview Lab → · Contrast checker → · Palette generator →

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