#2F803E#2F803E

#2F803E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.127 H 147.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F803E
RGBrgb(47, 128, 62)
HSLhsl(131, 46%, 34%)
HSVhsv(131, 63%, 50%)
CMYKcmyk(63.3%, 0%, 51.6%, 49.8%)
CIE-LABlab(47.48, -39.49, 28.55)
CIE-LCHlch(47.48, 48.73, 144.13°)
OKLaboklab(53.39% -0.1067 0.0692)
OKLCHoklch(53.39% 0.127 147.1)
XYZxyz(9.7603, 16.3895, 7.2056)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F803E #802F71
analogous
#49802F #2F803E #2F8067
triadic
#2F803E #3E2F80 #803E2F
tetradic
#2F803E #2F4980 #802F71 #80672F
square
#2F803E #2F4980 #802F71 #80672F
split-complementary
#2F803E #672F80 #802F49
monochromatic
#0E2613 #1F5328 #2F803E #3FAD54 #63C676

Accessibility & contrast

On white

4.91
#2F803E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F803E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F803E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F803E#FFFFFF#000000##FFFFFF
##2F803E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827538
Deuteranopia (green-blind)
#776E43
Tritanopia (blue-blind)
#1A7D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f803e;
/* rgb */ color: rgb(47, 128, 62);
/* oklch */ color: oklch(53.4% 0.127 147.1);
Tailwind
colors: {
  custom: {
    50: '#71a675',
    500: '#2f803e',
    950: '#000000',
  },
}
SCSS
$custom: #2f803e;
$custom-light: #71a675;
$custom-dark: #000000;
JSON
{
  "hex": "#2f803e",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 131.111,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53391,
    "c": 0.12717,
    "h": 147.1
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#2F803E
secondary
#AD5E9E
accent
#52BDD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F803E

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

Preview Lab → · Contrast checker → · Palette generator →

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