#2F8E1A#2F8E1A

#2F8E1A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.172 H 140.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F8E1A
RGBrgb(47, 142, 26)
HSLhsl(109, 69%, 33%)
HSVhsv(109, 82%, 56%)
CMYKcmyk(66.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.86, -48.63, 49.11)
CIE-LCHlch(51.86, 69.11, 134.72°)
OKLaboklab(56.91% -0.1332 0.1091)
OKLCHoklch(56.91% 0.172 140.7)
XYZxyz(11.0312, 20.0238, 4.2607)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E1A #791A8E
analogous
#698E1A #2F8E1A #1A8E3F
triadic
#2F8E1A #1A2F8E #8E1A2F
tetradic
#2F8E1A #1A698E #791A8E #8E3F1A
square
#2F8E1A #1A698E #791A8E #8E3F1A
split-complementary
#2F8E1A #3F1A8E #8E1A69
monochromatic
#0D2707 #1E5A11 #2F8E1A #40C223 #61DD45

Accessibility & contrast

On white

4.20
#2F8E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F8E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E1A#FFFFFF#000000##000000
##2F8E1A1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e1a;
/* rgb */ color: rgb(47, 142, 26);
/* oklch */ color: oklch(56.9% 0.172 140.7);
Tailwind
colors: {
  custom: {
    50: '#75b061',
    500: '#2f8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e1a;
$custom-light: #75b061;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e1a",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 109.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.17215,
    "h": 140.7
  },
  "luminance": 0.20025
}

Semantic roles & 50–950 ramp

primary
#2F8E1A
secondary
#A845BE
accent
#3CECCC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2F8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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