#2F7A2F#2F7A2F

#2F7A2F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.133 H 143.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2F7A2F
RGBrgb(47, 122, 47)
HSLhsl(120, 44%, 33%)
HSVhsv(120, 61%, 48%)
CMYKcmyk(61.5%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.26, -39.19, 33.64)
CIE-LCHlch(45.26, 51.65, 139.36°)
OKLaboklab(51.5% -0.1065 0.0792)
OKLCHoklch(51.5% 0.133 143.3)
XYZxyz(8.6444, 14.7278, 5.0760)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A2F #7A2F7A
analogous
#547A2F #2F7A2F #2F7A54
triadic
#2F7A2F #2F2F7A #7A2F2F
tetradic
#2F7A2F #2F547A #7A2F7A #7A542F
square
#2F7A2F #2F547A #7A2F7A #7A542F
split-complementary
#2F7A2F #542F7A #7A2F54
monochromatic
#0D220D #1E4E1E #2F7A2F #40A640 #61C261

Accessibility & contrast

On white

5.32
#2F7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2F7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A2F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A2F#FFFFFF#000000##FFFFFF
##2F7A2F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#22776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a2f;
/* rgb */ color: rgb(47, 122, 47);
/* oklch */ color: oklch(51.5% 0.133 143.3);
Tailwind
colors: {
  custom: {
    50: '#70a16a',
    500: '#2f7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a2f;
$custom-light: #70a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a2f",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.13274,
    "h": 143.3
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#2F7A2F
secondary
#A95CA9
accent
#54D4D4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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