#2F7A30#2F7A30

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

Color values

HEX#2F7A30
RGBrgb(47, 122, 48)
HSLhsl(121, 44%, 33%)
HSVhsv(121, 61%, 48%)
CMYKcmyk(61.5%, 0%, 60.7%, 52.2%)
CIE-LABlab(45.27, -39.07, 33.15)
CIE-LCHlch(45.27, 51.24, 139.68°)
OKLaboklab(51.51% -0.1061 0.0783)
OKLCHoklch(51.51% 0.132 143.6)
XYZxyz(8.6648, 14.7360, 5.1834)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A30 #7A2F79
analogous
#537A2F #2F7A30 #2F7A55
triadic
#2F7A30 #302F7A #7A302F
tetradic
#2F7A30 #2F537A #7A2F79 #7A552F
square
#2F7A30 #2F537A #7A2F79 #7A552F
split-complementary
#2F7A30 #552F7A #7A2F53
monochromatic
#0D220D #1E4E1F #2F7A30 #40A641 #61C262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7A30#FFFFFF#000000##FFFFFF
##2F7A301.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)
#7C6F28
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#21776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a30;
/* rgb */ color: rgb(47, 122, 48);
/* oklch */ color: oklch(51.5% 0.132 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a16b',
    500: '#2f7a30',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a30;
$custom-light: #70a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a30",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 120.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.13184,
    "h": 143.6
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#2F7A30
secondary
#A95CA8
accent
#54D2D4
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7A30

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

Preview Lab → · Contrast checker → · Palette generator →

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