#2F6B20#2F6B20

#2F6B20 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.1% C 0.125 H 139.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2F6B20
RGBrgb(47, 107, 32)
HSLhsl(108, 54%, 27%)
HSVhsv(108, 70%, 42%)
CMYKcmyk(56.1%, 0%, 70.1%, 58%)
CIE-LABlab(39.95, -34.74, 34.88)
CIE-LCHlch(39.95, 49.23, 134.88°)
OKLaboklab(47.08% -0.0953 0.0802)
OKLCHoklch(47.08% 0.125 139.9)
XYZxyz(6.6904, 11.2235, 3.1800)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6B20 #5C206B
analogous
#556B20 #2F6B20 #206B37
triadic
#2F6B20 #202F6B #6B202F
tetradic
#2F6B20 #20556B #5C206B #6B3720
square
#2F6B20 #20556B #5C206B #6B3720
split-complementary
#2F6B20 #37206B #6B2055
monochromatic
#0A1807 #1A3C12 #2F6B20 #449A2E #5AC640

Accessibility & contrast

On white

6.47
#2F6B20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2F6B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6B20
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6B20#FFFFFF#000000##FFFFFF
##2F6B201.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6116
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#29675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6b20;
/* rgb */ color: rgb(47, 107, 32);
/* oklch */ color: oklch(47.1% 0.125 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e965f',
    500: '#2f6b20',
    950: '#000000',
  },
}
SCSS
$custom: #2f6b20;
$custom-light: #6e965f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6b20",
  "rgb": {
    "r": 47,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 108,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.12458,
    "h": 139.9
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#2F6B20
secondary
#8E489F
accent
#4ADDC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #2F6B20

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

Preview Lab → · Contrast checker → · Palette generator →

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