#2F8C4E#2F8C4E

#2F8C4E is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.0% C 0.129 H 151.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F8C4E
RGBrgb(47, 140, 78)
HSLhsl(140, 50%, 37%)
HSVhsv(140, 66%, 55%)
CMYKcmyk(66.4%, 0%, 44.3%, 45.1%)
CIE-LABlab(51.73, -41.65, 25.30)
CIE-LCHlch(51.73, 48.73, 148.73°)
OKLaboklab(56.97% -0.1124 0.0624)
OKLCHoklch(56.97% 0.129 151)
XYZxyz(11.9246, 19.9093, 10.4207)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8C4E #8C2F6D
analogous
#3F8C2F #2F8C4E #2F8C7D
triadic
#2F8C4E #4E2F8C #8C4E2F
tetradic
#2F8C4E #2F3F8C #8C2F6D #8C7D2F
square
#2F8C4E #2F3F8C #8C2F6D #8C7D2F
split-complementary
#2F8C4E #7D2F8C #8C2F3F
monochromatic
#10301B #205E34 #2F8C4E #3EBA68 #69CD8A

Accessibility & contrast

On white

4.22
#2F8C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2F8C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8C4E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8C4E#FFFFFF#000000##000000
##2F8C4E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8049
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#068A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8c4e;
/* rgb */ color: rgb(47, 140, 78);
/* oklch */ color: oklch(57.0% 0.129 151.0);
Tailwind
colors: {
  custom: {
    50: '#73ae80',
    500: '#2f8c4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8c4e;
$custom-light: #73ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8c4e",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 140,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.12859,
    "h": 151
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#2F8C4E
secondary
#B46399
accent
#4FABD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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