#2F702F#2F702F

#2F702F is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.119 H 143.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2F702F
RGBrgb(47, 112, 47)
HSLhsl(120, 41%, 31%)
HSVhsv(120, 58%, 44%)
CMYKcmyk(58%, 0%, 58%, 56.1%)
CIE-LABlab(41.84, -35.05, 29.63)
CIE-LCHlch(41.84, 45.90, 139.79°)
OKLaboklab(48.68% -0.0953 0.0705)
OKLCHoklch(48.68% 0.119 143.5)
XYZxyz(7.4791, 12.3973, 4.6876)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F702F #702F70
analogous
#4F702F #2F702F #2F704F
triadic
#2F702F #2F2F70 #702F2F
tetradic
#2F702F #2F4F70 #702F70 #704F2F
square
#2F702F #2F4F70 #702F70 #704F2F
split-complementary
#2F702F #4F2F70 #702F4F
monochromatic
#0B1A0B #1D451D #2F702F #419B41 #5EBB5E

Accessibility & contrast

On white

6.04
#2F702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2F702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F702F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F702F#FFFFFF#000000##FFFFFF
##2F702F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f702f;
/* rgb */ color: rgb(47, 112, 47);
/* oklch */ color: oklch(48.7% 0.119 143.5);
Tailwind
colors: {
  custom: {
    50: '#6e9a69',
    500: '#2f702f',
    950: '#000000',
  },
}
SCSS
$custom: #2f702f;
$custom-light: #6e9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f702f",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.11854,
    "h": 143.5
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#2F702F
secondary
#A15AA1
accent
#57D1D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F702F

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

Preview Lab → · Contrast checker → · Palette generator →

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