#2F8F4F#2F8F4F

#2F8F4F is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.132 H 150.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F8F4F
RGBrgb(47, 143, 79)
HSLhsl(140, 51%, 37%)
HSVhsv(140, 67%, 56%)
CMYKcmyk(67.1%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.74, -42.69, 26.06)
CIE-LCHlch(52.74, 50.01, 148.60°)
OKLaboklab(57.81% -0.1152 0.0642)
OKLCHoklch(57.81% 0.132 150.9)
XYZxyz(12.4050, 20.8125, 10.7591)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F4F #8F2F6F
analogous
#3F8F2F #2F8F4F #2F8F7F
triadic
#2F8F4F #4F2F8F #8F4F2F
tetradic
#2F8F4F #2F3F8F #8F2F6F #8F7F2F
square
#2F8F4F #2F3F8F #8F2F6F #8F7F2F
split-complementary
#2F8F4F #7F2F8F #8F2F3F
monochromatic
#11331C #206136 #2F8F4F #3EBD68 #6ACE8C

Accessibility & contrast

On white

4.07
#2F8F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2F8F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F4F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F4F#FFFFFF#000000##000000
##2F8F4F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834A
Deuteranopia (green-blind)
#847B53
Tritanopia (blue-blind)
#028D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f8f4f;
/* rgb */ color: rgb(47, 143, 79);
/* oklch */ color: oklch(57.8% 0.132 150.9);
Tailwind
colors: {
  custom: {
    50: '#73b181',
    500: '#2f8f4f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f4f;
$custom-light: #73b181;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f4f",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 140,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.13186,
    "h": 150.9
  },
  "luminance": 0.20814
}

Semantic roles & 50–950 ramp

primary
#2F8F4F
secondary
#B5659A
accent
#4EABDA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2F8F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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