#2F783C#2F783C

#2F783C is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.118 H 147.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F783C
RGBrgb(47, 120, 60)
HSLhsl(131, 44%, 33%)
HSVhsv(131, 61%, 47%)
CMYKcmyk(60.8%, 0%, 50%, 52.9%)
CIE-LABlab(44.75, -36.48, 26.22)
CIE-LCHlch(44.75, 44.93, 144.29°)
OKLaboklab(51.13% -0.0987 0.0638)
OKLCHoklch(51.13% 0.118 147.1)
XYZxyz(8.7038, 14.3627, 6.5877)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F783C #782F6B
analogous
#46782F #2F783C #2F7860
triadic
#2F783C #3C2F78 #783C2F
tetradic
#2F783C #2F4678 #782F6B #78602F
square
#2F783C #2F4678 #782F6B #78602F
split-complementary
#2F783C #602F78 #782F46
monochromatic
#0D2010 #1E4C26 #2F783C #40A452 #60C172

Accessibility & contrast

On white

5.42
#2F783C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F783C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F783C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F783C#FFFFFF#000000##FFFFFF
##2F783C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E37
Deuteranopia (green-blind)
#706740
Tritanopia (blue-blind)
#1E756A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f783c;
/* rgb */ color: rgb(47, 120, 60);
/* oklch */ color: oklch(51.1% 0.118 147.1);
Tailwind
colors: {
  custom: {
    50: '#6fa073',
    500: '#2f783c',
    950: '#000000',
  },
}
SCSS
$custom: #2f783c;
$custom-light: #6fa073;
$custom-dark: #000000;
JSON
{
  "hex": "#2f783c",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 130.685,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.11752,
    "h": 147.1
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#2F783C
secondary
#A85B9A
accent
#54BDD3
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2F783C

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

Preview Lab → · Contrast checker → · Palette generator →

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