#2F8A1E#2F8A1E

#2F8A1E is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.165 H 140.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A1E
RGBrgb(47, 138, 30)
HSLhsl(111, 64%, 33%)
HSVhsv(111, 78%, 54%)
CMYKcmyk(65.9%, 0%, 78.3%, 45.9%)
CIE-LABlab(50.54, -46.94, 46.52)
CIE-LCHlch(50.54, 66.08, 135.26°)
OKLaboklab(55.82% -0.1284 0.1043)
OKLCHoklch(55.82% 0.165 140.9)
XYZxyz(10.4946, 18.8740, 4.3180)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A1E #791E8A
analogous
#658A1E #2F8A1E #1E8A43
triadic
#2F8A1E #1E2F8A #8A1E2F
tetradic
#2F8A1E #1E658A #791E8A #8A431E
square
#2F8A1E #1E658A #791E8A #8A431E
split-complementary
#2F8A1E #431E8A #8A1E65
monochromatic
#0D2508 #1E5813 #2F8A1E #40BC29 #61D84B

Accessibility & contrast

On white

4.40
#2F8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A1E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A1E#FFFFFF#000000##000000
##2F8A1E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D04
Deuteranopia (green-blind)
#83752A
Tritanopia (blue-blind)
#1F8576
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a1e;
/* rgb */ color: rgb(47, 138, 30);
/* oklch */ color: oklch(55.8% 0.165 140.9);
Tailwind
colors: {
  custom: {
    50: '#74ad62',
    500: '#2f8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a1e;
$custom-light: #74ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a1e",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 110.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.16542,
    "h": 140.9
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#2F8A1E
secondary
#A84ABA
accent
#41E7CD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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