#2F6917#2F6917

#2F6917 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.4% C 0.128 H 138.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F6917
RGBrgb(47, 105, 23)
HSLhsl(102, 64%, 25%)
HSVhsv(102, 78%, 41%)
CMYKcmyk(55.2%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.19, -34.70, 37.91)
CIE-LCHlch(39.19, 51.39, 132.47°)
OKLaboklab(46.42% -0.0958 0.0853)
OKLCHoklch(46.42% 0.128 138.3)
XYZxyz(6.3783, 10.7689, 2.5529)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6917 #511769
analogous
#586917 #2F6917 #176928
triadic
#2F6917 #172F69 #69172F
tetradic
#2F6917 #175869 #511769 #692817
square
#2F6917 #175869 #511769 #692817
split-complementary
#2F6917 #281769 #691758
monochromatic
#0B1905 #19370C #2F6917 #459B22 #5CCD2D

Accessibility & contrast

On white

6.66
#2F6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6917
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6917#FFFFFF#000000##FFFFFF
##2F69171.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#2A6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6917;
/* rgb */ color: rgb(47, 105, 23);
/* oklch */ color: oklch(46.4% 0.128 138.3);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2f6917',
    950: '#000000',
  },
}
SCSS
$custom: #2f6917;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6917",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 102.439,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46424,
    "c": 0.12827,
    "h": 138.3
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#2F6917
secondary
#823D9F
accent
#41E7B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6917

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

Preview Lab → · Contrast checker → · Palette generator →

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