#2F782E#2F782E

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

Color values

HEX#2F782E
RGBrgb(47, 120, 46)
HSLhsl(119, 45%, 33%)
HSVhsv(119, 62%, 47%)
CMYKcmyk(60.8%, 0%, 61.7%, 52.9%)
CIE-LABlab(44.57, -38.51, 33.33)
CIE-LCHlch(44.57, 50.93, 139.12°)
OKLaboklab(50.92% -0.1047 0.0785)
OKLCHoklch(50.92% 0.131 143.1)
XYZxyz(8.3814, 14.2338, 4.8899)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F782E #772E78
analogous
#54782E #2F782E #2E7852
triadic
#2F782E #2E2F78 #782E2F
tetradic
#2F782E #2E5478 #772E78 #78522E
square
#2F782E #2E5478 #772E78 #78522E
split-complementary
#2F782E #522E78 #782E54
monochromatic
#0C200C #1E4C1D #2F782E #40A43F #60C25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F782E#FFFFFF#000000##FFFFFF
##2F782E1.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)
#7B6D26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#227568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f782e;
/* rgb */ color: rgb(47, 120, 46);
/* oklch */ color: oklch(50.9% 0.131 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#2f782e',
    950: '#000000',
  },
}
SCSS
$custom: #2f782e;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#2f782e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 119.189,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.13085,
    "h": 143.1
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#2F782E
secondary
#A75AA8
accent
#54D4D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F782E

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

Preview Lab → · Contrast checker → · Palette generator →

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