#2F6927#2F6927

#2F6927 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.116 H 141.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2F6927
RGBrgb(47, 105, 39)
HSLhsl(113, 46%, 28%)
HSVhsv(113, 63%, 41%)
CMYKcmyk(55.2%, 0%, 62.9%, 58.8%)
CIE-LABlab(39.33, -33.10, 30.82)
CIE-LCHlch(39.33, 45.22, 137.04°)
OKLaboklab(46.59% -0.0904 0.0724)
OKLCHoklch(46.59% 0.116 141.3)
XYZxyz(6.5898, 10.8535, 3.6667)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6927 #612769
analogous
#506927 #2F6927 #276940
triadic
#2F6927 #272F69 #69272F
tetradic
#2F6927 #275069 #612769 #694027
square
#2F6927 #275069 #612769 #694027
split-complementary
#2F6927 #402769 #692750
monochromatic
#0A1608 #1B3C16 #2F6927 #439638 #5BBD4D

Accessibility & contrast

On white

6.62
#2F6927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F6927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6927
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6927#FFFFFF#000000##FFFFFF
##2F69271.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6020
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#28665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6927;
/* rgb */ color: rgb(47, 105, 39);
/* oklch */ color: oklch(46.6% 0.116 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9464',
    500: '#2f6927',
    950: '#000000',
  },
}
SCSS
$custom: #2f6927;
$custom-light: #6d9464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6927",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 39
  },
  "hsl": {
    "h": 112.727,
    "s": 45.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.11581,
    "h": 141.3
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#2F6927
secondary
#93509C
accent
#52D5C6
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2F6927

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

Preview Lab → · Contrast checker → · Palette generator →

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