#2F6F1F#2F6F1F

#2F6F1F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.131 H 140.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2F6F1F
RGBrgb(47, 111, 31)
HSLhsl(108, 56%, 28%)
HSVhsv(108, 72%, 44%)
CMYKcmyk(57.7%, 0%, 72.1%, 56.5%)
CIE-LABlab(41.33, -36.50, 36.79)
CIE-LCHlch(41.33, 51.82, 134.77°)
OKLaboklab(48.21% -0.1001 0.0841)
OKLCHoklch(48.21% 0.131 140)
XYZxyz(7.1037, 12.0716, 3.2518)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F1F #5F1F6F
analogous
#576F1F #2F6F1F #1F6F37
triadic
#2F6F1F #1F2F6F #6F1F2F
tetradic
#2F6F1F #1F576F #5F1F6F #6F371F
square
#2F6F1F #1F576F #5F1F6F #6F371F
split-complementary
#2F6F1F #371F6F #6F1F57
monochromatic
#0A1807 #1B3F12 #2F6F1F #439F2C #5BC93F

Accessibility & contrast

On white

6.15
#2F6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F6F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F1F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F1F#FFFFFF#000000##FFFFFF
##2F6F1F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#286B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f1f;
/* rgb */ color: rgb(47, 111, 31);
/* oklch */ color: oklch(48.2% 0.131 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f995f',
    500: '#2f6f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f1f;
$custom-light: #6f995f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f1f",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 108,
    "s": 56.338,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.13078,
    "h": 140
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#2F6F1F
secondary
#9147A3
accent
#48E0C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F6F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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