#2F8B4F#2F8B4F

#2F8B4F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.126 H 151.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F8B4F
RGBrgb(47, 139, 79)
HSLhsl(141, 49%, 36%)
HSVhsv(141, 66%, 55%)
CMYKcmyk(66.2%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.42, -41.06, 24.34)
CIE-LCHlch(51.42, 47.74, 149.34°)
OKLaboklab(56.72% -0.1109 0.0602)
OKLCHoklch(56.72% 0.126 151.5)
XYZxyz(11.8152, 19.6329, 10.5625)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B4F #8B2F6B
analogous
#3D8B2F #2F8B4F #2F8B7D
triadic
#2F8B4F #4F2F8B #8B4F2F
tetradic
#2F8B4F #2F3D8B #8B2F6B #8B7D2F
square
#2F8B4F #2F3D8B #8B2F6B #8B7D2F
split-complementary
#2F8B4F #7D2F8B #8B2F3D
monochromatic
#10301B #205D35 #2F8B4F #3EB969 #68CC8B

Accessibility & contrast

On white

4.26
#2F8B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2F8B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B4F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B4F#FFFFFF#000000##000000
##2F8B4F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#06897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8b4f;
/* rgb */ color: rgb(47, 139, 79);
/* oklch */ color: oklch(56.7% 0.126 151.5);
Tailwind
colors: {
  custom: {
    50: '#73ae81',
    500: '#2f8b4f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b4f;
$custom-light: #73ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b4f",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 140.87,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.12617,
    "h": 151.5
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#2F8B4F
secondary
#B36397
accent
#4FA9D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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