#2F7930#2F7930

#2F7930 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.130 H 143.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F7930
RGBrgb(47, 121, 48)
HSLhsl(121, 44%, 33%)
HSVhsv(121, 61%, 47%)
CMYKcmyk(61.2%, 0%, 60.3%, 52.5%)
CIE-LABlab(44.93, -38.66, 32.76)
CIE-LCHlch(44.93, 50.67, 139.72°)
OKLaboklab(51.23% -0.105 0.0774)
OKLCHoklch(51.23% 0.13 143.6)
XYZxyz(8.5427, 14.4917, 5.1427)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7930 #792F78
analogous
#53792F #2F7930 #2F7955
triadic
#2F7930 #302F79 #79302F
tetradic
#2F7930 #2F5379 #792F78 #79552F
square
#2F7930 #2F5379 #792F78 #79552F
split-complementary
#2F7930 #552F79 #792F53
monochromatic
#0D210D #1E4D1F #2F7930 #40A541 #61C262

Accessibility & contrast

On white

5.39
#2F7930 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2F7930 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7930
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7930#FFFFFF#000000##FFFFFF
##2F79301.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E29
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#227669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7930;
/* rgb */ color: rgb(47, 121, 48);
/* oklch */ color: oklch(51.2% 0.130 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a06b',
    500: '#2f7930',
    950: '#000000',
  },
}
SCSS
$custom: #2f7930;
$custom-light: #70a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7930",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 48
  },
  "hsl": {
    "h": 120.811,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.13045,
    "h": 143.6
  },
  "luminance": 0.14492
}

Semantic roles & 50–950 ramp

primary
#2F7930
secondary
#A85BA7
accent
#54D2D4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2F7930

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

Preview Lab → · Contrast checker → · Palette generator →

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