#2F8E4F#2F8E4F

#2F8E4F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.130 H 151.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F8E4F
RGBrgb(47, 142, 79)
HSLhsl(140, 50%, 37%)
HSVhsv(140, 67%, 56%)
CMYKcmyk(66.9%, 0%, 44.4%, 44.3%)
CIE-LABlab(52.41, -42.28, 25.63)
CIE-LCHlch(52.41, 49.45, 148.77°)
OKLaboklab(57.54% -0.1141 0.0632)
OKLCHoklch(57.54% 0.13 151)
XYZxyz(12.2556, 20.5136, 10.7093)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E4F #8E2F6E
analogous
#3E8E2F #2F8E4F #2F8E7F
triadic
#2F8E4F #4F2F8E #8E4F2F
tetradic
#2F8E4F #2F3E8E #8E2F6E #8E7F2F
square
#2F8E4F #2F3E8E #8E2F6E #8E7F2F
split-complementary
#2F8E4F #7F2F8E #8E2F3E
monochromatic
#11321C #206035 #2F8E4F #3EBC69 #6ACE8B

Accessibility & contrast

On white

4.12
#2F8E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2F8E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E4F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E4F#FFFFFF#000000##000000
##2F8E4F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#038C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8e4f;
/* rgb */ color: rgb(47, 142, 79);
/* oklch */ color: oklch(57.5% 0.130 151.0);
Tailwind
colors: {
  custom: {
    50: '#73b081',
    500: '#2f8e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e4f;
$custom-light: #73b081;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e4f",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 140.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.13044,
    "h": 151
  },
  "luminance": 0.20515
}

Semantic roles & 50–950 ramp

primary
#2F8E4F
secondary
#B5649A
accent
#4EABDA
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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