#2F804A#2F804A

#2F804A is a mid, moderate green. Relative luminance 0.165; OKLCH L 53.6% C 0.115 H 151.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F804A
RGBrgb(47, 128, 74)
HSLhsl(140, 46%, 34%)
HSVhsv(140, 63%, 50%)
CMYKcmyk(63.3%, 0%, 42.2%, 49.8%)
CIE-LABlab(47.67, -37.40, 22.22)
CIE-LCHlch(47.67, 43.51, 149.29°)
OKLaboklab(53.61% -0.1011 0.0551)
OKLCHoklch(53.61% 0.115 151.4)
XYZxyz(10.1267, 16.5361, 9.1354)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F804A #802F65
analogous
#3D802F #2F804A #2F8073
triadic
#2F804A #4A2F80 #804A2F
tetradic
#2F804A #2F3D80 #802F65 #80732F
square
#2F804A #2F3D80 #802F65 #80732F
split-complementary
#2F804A #732F80 #802F3D
monochromatic
#0E2616 #1F5330 #2F804A #3FAD64 #63C684

Accessibility & contrast

On white

4.88
#2F804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F804A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F804A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F804A#FFFFFF#000000##FFFFFF
##2F804A1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807646
Deuteranopia (green-blind)
#766E4E
Tritanopia (blue-blind)
#147E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f804a;
/* rgb */ color: rgb(47, 128, 74);
/* oklch */ color: oklch(53.6% 0.115 151.4);
Tailwind
colors: {
  custom: {
    50: '#70a57d',
    500: '#2f804a',
    950: '#000000',
  },
}
SCSS
$custom: #2f804a;
$custom-light: #70a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f804a",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 140,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.11518,
    "h": 151.4
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#2F804A
secondary
#AD5E93
accent
#52AAD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F804A

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

Preview Lab → · Contrast checker → · Palette generator →

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