#2F8D3F#2F8D3F

#2F8D3F is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.144 H 146.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F8D3F
RGBrgb(47, 141, 63)
HSLhsl(130, 50%, 37%)
HSVhsv(130, 67%, 55%)
CMYKcmyk(66.7%, 0%, 55.3%, 44.7%)
CIE-LABlab(51.85, -44.49, 33.38)
CIE-LCHlch(51.85, 55.62, 143.12°)
OKLaboklab(57% -0.1202 0.0799)
OKLCHoklch(57% 0.144 146.4)
XYZxyz(11.5936, 20.0118, 7.9533)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D3F #8D2F7D
analogous
#4E8D2F #2F8D3F #2F8D6E
triadic
#2F8D3F #3F2F8D #8D3F2F
tetradic
#2F8D3F #2F4E8D #8D2F7D #8D6E2F
square
#2F8D3F #2F4E8D #8D2F7D #8D6E2F
split-complementary
#2F8D3F #6E2F8D #8D2F4E
monochromatic
#103116 #205F2A #2F8D3F #3EBB54 #69CD7A

Accessibility & contrast

On white

4.20
#2F8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F8D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D3F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D3F#FFFFFF#000000##000000
##2F8D3F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8038
Deuteranopia (green-blind)
#837845
Tritanopia (blue-blind)
#138A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d3f;
/* rgb */ color: rgb(47, 141, 63);
/* oklch */ color: oklch(57.0% 0.144 146.4);
Tailwind
colors: {
  custom: {
    50: '#73af76',
    500: '#2f8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d3f;
$custom-light: #73af76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d3f",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 130.213,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.14434,
    "h": 146.4
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#2F8D3F
secondary
#B464A6
accent
#4EC2DA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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