#2F6E1A#2F6E1A

#2F6E1A is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.133 H 139.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2F6E1A
RGBrgb(47, 110, 26)
HSLhsl(105, 62%, 27%)
HSVhsv(105, 76%, 43%)
CMYKcmyk(57.3%, 0%, 76.4%, 56.9%)
CIE-LABlab(40.95, -36.53, 38.49)
CIE-LCHlch(40.95, 53.06, 133.50°)
OKLaboklab(47.88% -0.1006 0.0869)
OKLCHoklch(47.88% 0.133 139.2)
XYZxyz(6.9344, 11.8302, 2.8951)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E1A #591A6E
analogous
#596E1A #2F6E1A #1A6E2F
triadic
#2F6E1A #1A2F6E #6E1A2F
tetradic
#2F6E1A #1A596E #591A6E #6E2F1A
square
#2F6E1A #1A596E #591A6E #6E2F1A
split-complementary
#2F6E1A #2F1A6E #6E1A59
monochromatic
#0B1906 #1A3D0E #2F6E1A #44A026 #5ACF34

Accessibility & contrast

On white

6.24
#2F6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2F6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6E1A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6E1A#FFFFFF#000000##FFFFFF
##2F6E1A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#296A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6e1a;
/* rgb */ color: rgb(47, 110, 26);
/* oklch */ color: oklch(47.9% 0.133 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f985d',
    500: '#2f6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e1a;
$custom-light: #6f985d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e1a",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 105,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.13293,
    "h": 139.2
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#2F6E1A
secondary
#8B41A3
accent
#43E5BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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