#2F6F12#2F6F12

#2F6F12 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 138.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6F12
RGBrgb(47, 111, 18)
HSLhsl(101, 72%, 25%)
HSVhsv(101, 84%, 44%)
CMYKcmyk(57.7%, 0%, 83.8%, 56.5%)
CIE-LABlab(41.24, -37.49, 41.66)
CIE-LCHlch(41.24, 56.05, 131.98°)
OKLaboklab(48.11% -0.1037 0.0923)
OKLCHoklch(48.11% 0.139 138.3)
XYZxyz(6.9657, 12.0163, 2.5245)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F12 #52126F
analogous
#5E6F12 #2F6F12 #126F23
triadic
#2F6F12 #122F6F #6F122F
tetradic
#2F6F12 #125E6F #52126F #6F2312
square
#2F6F12 #125E6F #52126F #6F2312
split-complementary
#2F6F12 #23126F #6F125E
monochromatic
#0B1A04 #193A09 #2F6F12 #45A41B #5CD823

Accessibility & contrast

On white

6.17
#2F6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2F6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6F12
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6F12#FFFFFF#000000##FFFFFF
##2F6F121.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#296B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f12;
/* rgb */ color: rgb(47, 111, 18);
/* oklch */ color: oklch(48.1% 0.139 138.3);
Tailwind
colors: {
  custom: {
    50: '#709959',
    500: '#2f6f12',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f12;
$custom-light: #709959;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f12",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 101.29,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.13882,
    "h": 138.3
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#2F6F12
secondary
#8337A6
accent
#39EFB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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