#2F8D2D#2F8D2D

#2F8D2D is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.159 H 142.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8D2D
RGBrgb(47, 141, 45)
HSLhsl(119, 52%, 36%)
HSVhsv(119, 68%, 55%)
CMYKcmyk(66.7%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.66, -46.72, 41.73)
CIE-LCHlch(51.66, 62.64, 138.23°)
OKLaboklab(56.78% -0.127 0.0963)
OKLCHoklch(56.78% 0.159 142.8)
XYZxyz(11.1702, 19.8424, 5.7234)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D2D #8B2D8D
analogous
#5F8D2D #2F8D2D #2D8D5B
triadic
#2F8D2D #2D2F8D #8D2D2F
tetradic
#2F8D2D #2D5F8D #8B2D8D #8D5B2D
square
#2F8D2D #2D5F8D #8B2D8D #8D5B2D
split-complementary
#2F8D2D #5B2D8D #8D2D5F
monochromatic
#10300F #205F1E #2F8D2D #3EBB3C #68CE66

Accessibility & contrast

On white

4.23
#2F8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D2D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D2D#FFFFFF#000000##000000
##2F8D2D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d2d;
/* rgb */ color: rgb(47, 141, 45);
/* oklch */ color: oklch(56.8% 0.159 142.8);
Tailwind
colors: {
  custom: {
    50: '#74af6b',
    500: '#2f8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d2d;
$custom-light: #74af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d2d",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 118.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.15935,
    "h": 142.8
  },
  "luminance": 0.19844
}

Semantic roles & 50–950 ramp

primary
#2F8D2D
secondary
#B361B5
accent
#4DDBD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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