#2F804D#2F804D

#2F804D is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.7% C 0.112 H 152.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F804D
RGBrgb(47, 128, 77)
HSLhsl(142, 46%, 34%)
HSVhsv(142, 63%, 50%)
CMYKcmyk(63.3%, 0%, 39.8%, 49.8%)
CIE-LABlab(47.72, -36.83, 20.60)
CIE-LCHlch(47.72, 42.20, 150.78°)
OKLaboklab(53.67% -0.0997 0.0514)
OKLCHoklch(53.67% 0.112 152.7)
XYZxyz(10.2302, 16.5775, 9.6804)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F804D #802F62
analogous
#3A802F #2F804D #2F8076
triadic
#2F804D #4D2F80 #804D2F
tetradic
#2F804D #2F3A80 #802F62 #80762F
square
#2F804D #2F3A80 #802F62 #80762F
split-complementary
#2F804D #762F80 #802F3A
monochromatic
#0E2617 #1F5332 #2F804D #3FAD68 #63C688

Accessibility & contrast

On white

4.87
#2F804D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F804D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F804D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F804D#FFFFFF#000000##FFFFFF
##2F804D1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764A
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#127E73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f804d;
/* rgb */ color: rgb(47, 128, 77);
/* oklch */ color: oklch(53.7% 0.112 152.7);
Tailwind
colors: {
  custom: {
    50: '#70a57f',
    500: '#2f804d',
    950: '#000000',
  },
}
SCSS
$custom: #2f804d;
$custom-light: #70a57f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f804d",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 142.222,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.11214,
    "h": 152.7
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#2F804D
secondary
#AD5E90
accent
#52A5D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F804D

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

Preview Lab → · Contrast checker → · Palette generator →

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