#2F804B#2F804B

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

Color values

HEX#2F804B
RGBrgb(47, 128, 75)
HSLhsl(141, 46%, 34%)
HSVhsv(141, 63%, 50%)
CMYKcmyk(63.3%, 0%, 41.4%, 49.8%)
CIE-LABlab(47.69, -37.22, 21.68)
CIE-LCHlch(47.69, 43.07, 149.77°)
OKLaboklab(53.63% -0.1006 0.0539)
OKLCHoklch(53.63% 0.114 151.8)
XYZxyz(10.1607, 16.5497, 9.3142)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F804B #802F64
analogous
#3B802F #2F804B #2F8074
triadic
#2F804B #4B2F80 #804B2F
tetradic
#2F804B #2F3B80 #802F64 #80742F
square
#2F804B #2F3B80 #802F64 #80742F
split-complementary
#2F804B #742F80 #802F3B
monochromatic
#0E2617 #1F5331 #2F804B #3FAD65 #63C686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F804B#FFFFFF#000000##FFFFFF
##2F804B1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f804b;
/* rgb */ color: rgb(47, 128, 75);
/* oklch */ color: oklch(53.6% 0.114 151.8);
Tailwind
colors: {
  custom: {
    50: '#70a57e',
    500: '#2f804b',
    950: '#000000',
  },
}
SCSS
$custom: #2f804b;
$custom-light: #70a57e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f804b",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 75
  },
  "hsl": {
    "h": 140.741,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53628,
    "c": 0.11416,
    "h": 151.8
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#2F804B
secondary
#AD5E92
accent
#52A8D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F804B

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

Preview Lab → · Contrast checker → · Palette generator →

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