#2F6F11#2F6F11

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

Color values

HEX#2F6F11
RGBrgb(47, 111, 17)
HSLhsl(101, 73%, 25%)
HSVhsv(101, 85%, 44%)
CMYKcmyk(57.7%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.24, -37.55, 41.97)
CIE-LCHlch(41.24, 56.32, 131.82°)
OKLaboklab(48.1% -0.1039 0.0928)
OKLCHoklch(48.1% 0.139 138.2)
XYZxyz(6.9577, 12.0131, 2.4823)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6F11 #51116F
analogous
#5E6F11 #2F6F11 #116F22
triadic
#2F6F11 #112F6F #6F112F
tetradic
#2F6F11 #115E6F #51116F #6F2211
square
#2F6F11 #115E6F #51116F #6F2211
split-complementary
#2F6F11 #22116F #6F115E
monochromatic
#0B1B04 #193A09 #2F6F11 #45A419 #5CD921

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6F11#FFFFFF#000000##FFFFFF
##2F6F111.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)
#6B5F1C
Tritanopia (blue-blind)
#296B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6f11;
/* rgb */ color: rgb(47, 111, 17);
/* oklch */ color: oklch(48.1% 0.139 138.2);
Tailwind
colors: {
  custom: {
    50: '#709959',
    500: '#2f6f11',
    950: '#000000',
  },
}
SCSS
$custom: #2f6f11;
$custom-light: #709959;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6f11",
  "rgb": {
    "r": 47,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 100.851,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.13931,
    "h": 138.2
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#2F6F11
secondary
#8235A6
accent
#38F0B5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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