#2F8D1E#2F8D1E

#2F8D1E is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.169 H 141.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D1E
RGBrgb(47, 141, 30)
HSLhsl(111, 65%, 34%)
HSVhsv(111, 79%, 55%)
CMYKcmyk(66.7%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.55, -48.01, 47.50)
CIE-LCHlch(51.55, 67.54, 135.30°)
OKLaboklab(56.65% -0.1313 0.1064)
OKLCHoklch(56.65% 0.169 141)
XYZxyz(10.9310, 19.7467, 4.4635)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D1E #7C1E8D
analogous
#668D1E #2F8D1E #1E8D44
triadic
#2F8D1E #1E2F8D #8D1E2F
tetradic
#2F8D1E #1E668D #7C1E8D #8D441E
square
#2F8D1E #1E668D #7C1E8D #8D441E
split-complementary
#2F8D1E #441E8D #8D1E66
monochromatic
#0D2809 #1E5B13 #2F8D1E #40BF29 #62D94C

Accessibility & contrast

On white

4.24
#2F8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D1E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D1E#FFFFFF#000000##000000
##2F8D1E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F02
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d1e;
/* rgb */ color: rgb(47, 141, 30);
/* oklch */ color: oklch(56.7% 0.169 141.0);
Tailwind
colors: {
  custom: {
    50: '#75af63',
    500: '#2f8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d1e;
$custom-light: #75af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d1e",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 110.811,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.16897,
    "h": 141
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#2F8D1E
secondary
#AA4BBC
accent
#40E8CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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