#2F6916#2F6916

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

Color values

HEX#2F6916
RGBrgb(47, 105, 22)
HSLhsl(102, 65%, 25%)
HSVhsv(102, 79%, 41%)
CMYKcmyk(55.2%, 0%, 79%, 58.8%)
CIE-LABlab(39.18, -34.77, 38.29)
CIE-LCHlch(39.18, 51.72, 132.24°)
OKLaboklab(46.42% -0.0961 0.0859)
OKLCHoklch(46.42% 0.129 138.2)
XYZxyz(6.3685, 10.7649, 2.5012)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6916 #501669
analogous
#586916 #2F6916 #166927
triadic
#2F6916 #162F69 #69162F
tetradic
#2F6916 #165869 #501669 #692716
square
#2F6916 #165869 #501669 #692716
split-complementary
#2F6916 #271669 #691658
monochromatic
#0B1905 #18360B #2F6916 #469C21 #5CCE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6916#FFFFFF#000000##FFFFFF
##2F69161.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)
#6C5F05
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#2A6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6916;
/* rgb */ color: rgb(47, 105, 22);
/* oklch */ color: oklch(46.4% 0.129 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e945a',
    500: '#2f6916',
    950: '#000000',
  },
}
SCSS
$custom: #2f6916;
$custom-light: #6e945a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6916",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 101.928,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.12889,
    "h": 138.2
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#2F6916
secondary
#813B9F
accent
#3FE8B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6916

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

Preview Lab → · Contrast checker → · Palette generator →

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