#2F6D1F#2F6D1F

#2F6D1F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.128 H 139.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2F6D1F
RGBrgb(47, 109, 31)
HSLhsl(108, 56%, 27%)
HSVhsv(108, 72%, 43%)
CMYKcmyk(56.9%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.64, -35.67, 36.06)
CIE-LCHlch(40.64, 50.72, 134.69°)
OKLaboklab(47.64% -0.0979 0.0826)
OKLCHoklch(47.64% 0.128 139.9)
XYZxyz(6.8880, 11.6400, 3.1798)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6D1F #5D1F6D
analogous
#566D1F #2F6D1F #1F6D36
triadic
#2F6D1F #1F2F6D #6D1F2F
tetradic
#2F6D1F #1F566D #5D1F6D #6D361F
square
#2F6D1F #1F566D #5D1F6D #6D361F
split-complementary
#2F6D1F #361F6D #6D1F56
monochromatic
#0A1807 #1A3D11 #2F6D1F #449D2D #5BC83E

Accessibility & contrast

On white

6.31
#2F6D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2F6D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6D1F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6D1F#FFFFFF#000000##FFFFFF
##2F6D1F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#28695D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6d1f;
/* rgb */ color: rgb(47, 109, 31);
/* oklch */ color: oklch(47.6% 0.128 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f975f',
    500: '#2f6d1f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6d1f;
$custom-light: #6f975f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6d1f",
  "rgb": {
    "r": 47,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 107.692,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.12808,
    "h": 139.9
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#2F6D1F
secondary
#8F47A1
accent
#49DFC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2F6D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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