#2F6E12#2F6E12

#2F6E12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.138 H 138.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2F6E12
RGBrgb(47, 110, 18)
HSLhsl(101, 72%, 25%)
HSVhsv(101, 84%, 43%)
CMYKcmyk(57.3%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.90, -37.09, 41.34)
CIE-LCHlch(40.90, 55.54, 131.90°)
OKLaboklab(47.82% -0.1026 0.0917)
OKLCHoklch(47.82% 0.138 138.2)
XYZxyz(6.8572, 11.7993, 2.4883)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6E12 #51126E
analogous
#5D6E12 #2F6E12 #126E23
triadic
#2F6E12 #122F6E #6E122F
tetradic
#2F6E12 #125D6E #51126E #6E2312
square
#2F6E12 #125D6E #51126E #6E2312
split-complementary
#2F6E12 #23126E #6E125D
monochromatic
#0B1A04 #193909 #2F6E12 #45A31B #5CD723

Accessibility & contrast

On white

6.25
#2F6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F6E12
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6E12#FFFFFF#000000##FFFFFF
##2F6E121.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5E1D
Tritanopia (blue-blind)
#296A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2f6e12;
/* rgb */ color: rgb(47, 110, 18);
/* oklch */ color: oklch(47.8% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#709859',
    500: '#2f6e12',
    950: '#000000',
  },
}
SCSS
$custom: #2f6e12;
$custom-light: #709859;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6e12",
  "rgb": {
    "r": 47,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 101.087,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.13757,
    "h": 138.2
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#2F6E12
secondary
#8237A5
accent
#39EFB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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