#2F804F#2F804F

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

Color values

HEX#2F804F
RGBrgb(47, 128, 79)
HSLhsl(144, 46%, 34%)
HSVhsv(144, 63%, 50%)
CMYKcmyk(63.3%, 0%, 38.3%, 49.8%)
CIE-LABlab(47.76, -36.43, 19.52)
CIE-LCHlch(47.76, 41.33, 151.82°)
OKLaboklab(53.71% -0.0987 0.0489)
OKLCHoklch(53.71% 0.11 153.7)
XYZxyz(10.3019, 16.6062, 10.0580)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F804F #802F60
analogous
#37802F #2F804F #2F8078
triadic
#2F804F #4F2F80 #804F2F
tetradic
#2F804F #2F3780 #802F60 #80782F
square
#2F804F #2F3780 #802F60 #80782F
split-complementary
#2F804F #782F80 #802F37
monochromatic
#0E2618 #1F5333 #2F804F #3FAD6B #63C68A

Accessibility & contrast

On white

4.86
#2F804F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F804F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F804F#FFFFFF#000000##FFFFFF
##2F804F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#107E74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f804f;
/* rgb */ color: rgb(47, 128, 79);
/* oklch */ color: oklch(53.7% 0.110 153.7);
Tailwind
colors: {
  custom: {
    50: '#70a580',
    500: '#2f804f',
    950: '#000000',
  },
}
SCSS
$custom: #2f804f;
$custom-light: #70a580;
$custom-dark: #000000;
JSON
{
  "hex": "#2f804f",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 79
  },
  "hsl": {
    "h": 143.704,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.11013,
    "h": 153.7
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#2F804F
secondary
#AD5E8E
accent
#52A2D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F804F

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

Preview Lab → · Contrast checker → · Palette generator →

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