#2F6E17#2F6E17

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

Color values

HEX#2F6E17
RGBrgb(47, 110, 23)
HSLhsl(103, 65%, 26%)
HSVhsv(103, 79%, 43%)
CMYKcmyk(57.3%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.92, -36.76, 39.63)
CIE-LCHlch(40.92, 54.05, 132.85°)
OKLaboklab(47.86% -0.1014 0.0889)
OKLCHoklch(47.86% 0.135 138.8)
XYZxyz(6.9026, 11.8175, 2.7277)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E17 #56176E
analogous
#5A6E17 #2F6E17 #176E2A
triadic
#2F6E17 #172F6E #6E172F
tetradic
#2F6E17 #175A6E #56176E #6E2A17
square
#2F6E17 #175A6E #56176E #6E2A17
split-complementary
#2F6E17 #2A176E #6E175A
monochromatic
#0B1905 #193B0C #2F6E17 #45A122 #5AD32C

Accessibility & contrast

On white

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

On black

3.36
#2F6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F6E17#FFFFFF#000000##FFFFFF
##2F6E171.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#695F20
Tritanopia (blue-blind)
#296A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6e17;
/* rgb */ color: rgb(47, 110, 23);
/* oklch */ color: oklch(47.9% 0.135 138.8);
Tailwind
colors: {
  custom: {
    50: '#6f985b',
    500: '#2f6e17',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e17;
$custom-light: #6f985b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e17",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 103.448,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.13481,
    "h": 138.8
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#2F6E17
secondary
#873DA4
accent
#3FE8BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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