#2F703E#2F703E

#2F703E is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.103 H 148.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#2F703E
RGBrgb(47, 112, 62)
HSLhsl(134, 41%, 31%)
HSVhsv(134, 58%, 44%)
CMYKcmyk(58%, 0%, 44.6%, 56.1%)
CIE-LABlab(42.06, -32.66, 21.68)
CIE-LCHlch(42.06, 39.20, 146.41°)
OKLaboklab(48.94% -0.0884 0.0535)
OKLCHoklch(48.94% 0.103 148.8)
XYZxyz(7.8354, 12.5398, 6.5640)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F703E #702F61
analogous
#40702F #2F703E #2F705E
triadic
#2F703E #3E2F70 #703E2F
tetradic
#2F703E #2F4070 #702F61 #705E2F
square
#2F703E #2F4070 #702F61 #705E2F
split-complementary
#2F703E #5E2F70 #702F40
monochromatic
#0B1A0E #1D4526 #2F703E #419B56 #5EBB74

Accessibility & contrast

On white

5.99
#2F703E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2F703E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F703E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F703E#FFFFFF#000000##FFFFFF
##2F703E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673A
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#206E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f703e;
/* rgb */ color: rgb(47, 112, 62);
/* oklch */ color: oklch(48.9% 0.103 148.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a74',
    500: '#2f703e',
    950: '#000000',
  },
}
SCSS
$custom: #2f703e;
$custom-light: #6e9a74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f703e",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 62
  },
  "hsl": {
    "h": 133.846,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48936,
    "c": 0.10335,
    "h": 148.8
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#2F703E
secondary
#A15A91
accent
#57B5D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2F703E

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

Preview Lab → · Contrast checker → · Palette generator →

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