#2F6A1F#2F6A1F

#2F6A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.124 H 139.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2F6A1F
RGBrgb(47, 106, 31)
HSLhsl(107, 55%, 27%)
HSVhsv(107, 71%, 42%)
CMYKcmyk(55.7%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.60, -34.41, 34.95)
CIE-LCHlch(39.60, 49.05, 134.55°)
OKLaboklab(46.78% -0.0945 0.0802)
OKLCHoklch(46.78% 0.124 139.7)
XYZxyz(6.5734, 11.0108, 3.0750)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A1F #5A1F6A
analogous
#556A1F #2F6A1F #1F6A35
triadic
#2F6A1F #1F2F6A #6A1F2F
tetradic
#2F6A1F #1F556A #5A1F6A #6A351F
square
#2F6A1F #1F556A #5A1F6A #6A351F
split-complementary
#2F6A1F #351F6A #6A1F55
monochromatic
#0A1807 #1A3B11 #2F6A1F #44992D #5AC63D

Accessibility & contrast

On white

6.56
#2F6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2F6A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A1F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A1F#FFFFFF#000000##FFFFFF
##2F6A1F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#29665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a1f;
/* rgb */ color: rgb(47, 106, 31);
/* oklch */ color: oklch(46.8% 0.124 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e955f',
    500: '#2f6a1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a1f;
$custom-light: #6e955f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a1f",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 107.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.12397,
    "h": 139.7
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#2F6A1F
secondary
#8C479E
accent
#4ADEBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2F6A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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