#2F7411#2F7411

#2F7411 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.145 H 138.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7411
RGBrgb(47, 116, 17)
HSLhsl(102, 74%, 26%)
HSVhsv(102, 85%, 45%)
CMYKcmyk(59.5%, 0%, 85.3%, 54.5%)
CIE-LABlab(42.97, -39.53, 43.57)
CIE-LCHlch(42.97, 58.82, 132.22°)
OKLaboklab(49.53% -0.1092 0.0962)
OKLCHoklch(49.53% 0.145 138.6)
XYZxyz(7.5186, 13.1349, 2.6693)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7411 #561174
analogous
#607411 #2F7411 #117424
triadic
#2F7411 #112F74 #74112F
tetradic
#2F7411 #116074 #561174 #742411
square
#2F7411 #116074 #561174 #742411
split-complementary
#2F7411 #241174 #741160
monochromatic
#0B1B04 #193F09 #2F7411 #45A919 #5ADE21

Accessibility & contrast

On white

5.79
#2F7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7411
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7411#FFFFFF#000000##FFFFFF
##2F74111.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#287062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7411;
/* rgb */ color: rgb(47, 116, 17);
/* oklch */ color: oklch(49.5% 0.145 138.6);
Tailwind
colors: {
  custom: {
    50: '#719d59',
    500: '#2f7411',
    950: '#000000',
  },
}
SCSS
$custom: #2f7411;
$custom-light: #719d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7411",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 101.818,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49529,
    "c": 0.14549,
    "h": 138.6
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#2F7411
secondary
#8736AB
accent
#37F1B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7411

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

Preview Lab → · Contrast checker → · Palette generator →

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