#2F8A4E#2F8A4E

#2F8A4E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.126 H 151.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F8A4E
RGBrgb(47, 138, 78)
HSLhsl(140, 49%, 36%)
HSVhsv(140, 66%, 54%)
CMYKcmyk(65.9%, 0%, 43.5%, 45.9%)
CIE-LABlab(51.07, -40.84, 24.44)
CIE-LCHlch(51.07, 47.59, 149.10°)
OKLaboklab(56.43% -0.1103 0.0604)
OKLCHoklch(56.43% 0.126 151.3)
XYZxyz(11.6350, 19.3302, 10.3242)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A4E #8A2F6B
analogous
#3E8A2F #2F8A4E #2F8A7C
triadic
#2F8A4E #4E2F8A #8A4E2F
tetradic
#2F8A4E #2F3E8A #8A2F6B #8A7C2F
square
#2F8A4E #2F3E8A #8A2F6B #8A7C2F
split-complementary
#2F8A4E #7C2F8A #8A2F3E
monochromatic
#102F1A #1F5C34 #2F8A4E #3FB868 #68CC8A

Accessibility & contrast

On white

4.32
#2F8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2F8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A4E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A4E#FFFFFF#000000##000000
##2F8A4E1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4A
Deuteranopia (green-blind)
#7F7652
Tritanopia (blue-blind)
#08887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a4e;
/* rgb */ color: rgb(47, 138, 78);
/* oklch */ color: oklch(56.4% 0.126 151.3);
Tailwind
colors: {
  custom: {
    50: '#72ad80',
    500: '#2f8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a4e;
$custom-light: #72ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a4e",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 140.44,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.12573,
    "h": 151.3
  },
  "luminance": 0.19331
}

Semantic roles & 50–950 ramp

primary
#2F8A4E
secondary
#B36297
accent
#4FAAD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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