#2F8F1E#2F8F1E

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

Color values

HEX#2F8F1E
RGBrgb(47, 143, 30)
HSLhsl(111, 65%, 34%)
HSVhsv(111, 79%, 56%)
CMYKcmyk(67.1%, 0%, 79%, 43.9%)
CIE-LABlab(52.22, -48.72, 48.16)
CIE-LCHlch(52.22, 68.50, 135.33°)
OKLaboklab(57.21% -0.1332 0.1077)
OKLCHoklch(57.21% 0.171 141)
XYZxyz(11.2285, 20.3419, 4.5627)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F1E #7E1E8F
analogous
#688F1E #2F8F1E #1E8F46
triadic
#2F8F1E #1E2F8F #8F1E2F
tetradic
#2F8F1E #1E688F #7E1E8F #8F461E
square
#2F8F1E #1E688F #7E1E8F #8F461E
split-complementary
#2F8F1E #461E8F #8F1E68
monochromatic
#0E2A09 #1E5C13 #2F8F1E #40C229 #63DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8F1E#FFFFFF#000000##000000
##2F8F1E1.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)
#938101
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f1e;
/* rgb */ color: rgb(47, 143, 30);
/* oklch */ color: oklch(57.2% 0.171 141.0);
Tailwind
colors: {
  custom: {
    50: '#76b163',
    500: '#2f8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f1e;
$custom-light: #76b163;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f1e",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 110.973,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.17131,
    "h": 141
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#2F8F1E
secondary
#AC4CBC
accent
#40E8CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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