#2F8F1D#2F8F1D

#2F8F1D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.172 H 141.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8F1D
RGBrgb(47, 143, 29)
HSLhsl(111, 66%, 34%)
HSVhsv(111, 80%, 56%)
CMYKcmyk(67.1%, 0%, 79.7%, 43.9%)
CIE-LABlab(52.22, -48.79, 48.48)
CIE-LCHlch(52.22, 68.78, 135.18°)
OKLaboklab(57.2% -0.1334 0.1083)
OKLCHoklch(57.2% 0.172 141)
XYZxyz(11.2159, 20.3368, 4.4965)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F1D #7D1D8F
analogous
#688F1D #2F8F1D #1D8F44
triadic
#2F8F1D #1D2F8F #8F1D2F
tetradic
#2F8F1D #1D688F #7D1D8F #8F441D
square
#2F8F1D #1D688F #7D1D8F #8F441D
split-complementary
#2F8F1D #441D8F #8F1D68
monochromatic
#0E2908 #1E5C13 #2F8F1D #40C227 #62DB4C

Accessibility & contrast

On white

4.14
#2F8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F1D#FFFFFF#000000##000000
##2F8F1D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877A2A
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f1d;
/* rgb */ color: rgb(47, 143, 29);
/* oklch */ color: oklch(57.2% 0.172 141.0);
Tailwind
colors: {
  custom: {
    50: '#76b163',
    500: '#2f8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f1d;
$custom-light: #76b163;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f1d",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 110.526,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.17183,
    "h": 141
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#2F8F1D
secondary
#AB4BBD
accent
#3FE9CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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