#2F782D#2F782D

#2F782D is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.132 H 142.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2F782D
RGBrgb(47, 120, 45)
HSLhsl(118, 45%, 32%)
HSVhsv(118, 63%, 47%)
CMYKcmyk(60.8%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.56, -38.64, 33.82)
CIE-LCHlch(44.56, 51.34, 138.81°)
OKLaboklab(50.91% -0.1051 0.0794)
OKLCHoklch(50.91% 0.132 142.9)
XYZxyz(8.3620, 14.2260, 4.7873)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F782D #762D78
analogous
#55782D #2F782D #2D7851
triadic
#2F782D #2D2F78 #782D2F
tetradic
#2F782D #2D5578 #762D78 #78512D
square
#2F782D #2D5578 #762D78 #78512D
split-complementary
#2F782D #512D78 #782D55
monochromatic
#0C1F0C #1E4B1C #2F782D #40A53E #60C25D

Accessibility & contrast

On white

5.46
#2F782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2F782D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F782D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F782D#FFFFFF#000000##FFFFFF
##2F782D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#237568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f782d;
/* rgb */ color: rgb(47, 120, 45);
/* oklch */ color: oklch(50.9% 0.132 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#2f782d',
    950: '#000000',
  },
}
SCSS
$custom: #2f782d;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#2f782d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 118.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.13172,
    "h": 142.9
  },
  "luminance": 0.14227
}

Semantic roles & 50–950 ramp

primary
#2F782D
secondary
#A758A9
accent
#53D5D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F782D

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

Preview Lab → · Contrast checker → · Palette generator →

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