#2F7111#2F7111

#2F7111 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.142 H 138.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2F7111
RGBrgb(47, 113, 17)
HSLhsl(101, 74%, 25%)
HSVhsv(101, 85%, 44%)
CMYKcmyk(58.4%, 0%, 85%, 55.7%)
CIE-LABlab(41.93, -38.35, 42.61)
CIE-LCHlch(41.93, 57.33, 131.98°)
OKLaboklab(48.67% -0.106 0.0942)
OKLCHoklch(48.67% 0.142 138.4)
XYZxyz(7.1783, 12.4545, 2.5559)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7111 #531171
analogous
#5F7111 #2F7111 #117123
triadic
#2F7111 #112F71 #71112F
tetradic
#2F7111 #115F71 #531171 #712311
square
#2F7111 #115F71 #531171 #712311
split-complementary
#2F7111 #231171 #71115F
monochromatic
#0B1B04 #193C09 #2F7111 #45A619 #5BDB21

Accessibility & contrast

On white

6.02
#2F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7111
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7111#FFFFFF#000000##FFFFFF
##2F71111.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7111;
/* rgb */ color: rgb(47, 113, 17);
/* oklch */ color: oklch(48.7% 0.142 138.4);
Tailwind
colors: {
  custom: {
    50: '#709a59',
    500: '#2f7111',
    950: '#000000',
  },
}
SCSS
$custom: #2f7111;
$custom-light: #709a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7111",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 101.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.1418,
    "h": 138.4
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

primary
#2F7111
secondary
#8436A8
accent
#37F1B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7111

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

Preview Lab → · Contrast checker → · Palette generator →

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