#2F951D#2F951D

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

Color values

HEX#2F951D
RGBrgb(47, 149, 29)
HSLhsl(111, 67%, 35%)
HSVhsv(111, 81%, 58%)
CMYKcmyk(68.5%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.22, -50.88, 50.40)
CIE-LCHlch(54.22, 71.62, 135.27°)
OKLaboklab(58.87% -0.1391 0.1123)
OKLCHoklch(58.87% 0.179 141.1)
XYZxyz(12.1409, 22.1867, 4.8048)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F951D #831D95
analogous
#6B951D #2F951D #1D9547
triadic
#2F951D #1D2F95 #951D2F
tetradic
#2F951D #1D6B95 #831D95 #95471D
square
#2F951D #1D6B95 #831D95 #95471D
split-complementary
#2F951D #471D95 #951D6B
monochromatic
#0F2F09 #1F6213 #2F951D #3FC827 #65DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f951d;
/* rgb */ color: rgb(47, 149, 29);
/* oklch */ color: oklch(58.9% 0.179 141.1);
Tailwind
colors: {
  custom: {
    50: '#77b564',
    500: '#2f951d',
    950: '#000000',
  },
}
SCSS
$custom: #2f951d;
$custom-light: #77b564;
$custom-dark: #000000;
JSON
{
  "hex": "#2f951d",
  "rgb": {
    "r": 47,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 111,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.17873,
    "h": 141.1
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#2F951D
secondary
#AF4EC0
accent
#3DEAD0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F951D

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

Preview Lab → · Contrast checker → · Palette generator →

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