#2F8A4F#2F8A4F

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

Color values

HEX#2F8A4F
RGBrgb(47, 138, 79)
HSLhsl(141, 49%, 36%)
HSVhsv(141, 66%, 54%)
CMYKcmyk(65.9%, 0%, 42.8%, 45.9%)
CIE-LABlab(51.09, -40.65, 23.91)
CIE-LCHlch(51.09, 47.16, 149.54°)
OKLaboklab(56.45% -0.1098 0.0592)
OKLCHoklch(56.45% 0.125 151.7)
XYZxyz(11.6711, 19.3446, 10.5144)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A4F #8A2F6A
analogous
#3D8A2F #2F8A4F #2F8A7D
triadic
#2F8A4F #4F2F8A #8A4F2F
tetradic
#2F8A4F #2F3D8A #8A2F6A #8A7D2F
square
#2F8A4F #2F3D8A #8A2F6A #8A7D2F
split-complementary
#2F8A4F #7D2F8A #8A2F3D
monochromatic
#102F1B #1F5C35 #2F8A4F #3FB869 #68CC8B

Accessibility & contrast

On white

4.31
#2F8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A4F#FFFFFF#000000##000000
##2F8A4F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4B
Deuteranopia (green-blind)
#7F7653
Tritanopia (blue-blind)
#07887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a4f;
/* rgb */ color: rgb(47, 138, 79);
/* oklch */ color: oklch(56.4% 0.125 151.7);
Tailwind
colors: {
  custom: {
    50: '#72ad81',
    500: '#2f8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a4f;
$custom-light: #72ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a4f",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 141.099,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.12473,
    "h": 151.7
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#2F8A4F
secondary
#B36296
accent
#4FA8D9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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