#2F8D2E#2F8D2E

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

Color values

HEX#2F8D2E
RGBrgb(47, 141, 46)
HSLhsl(119, 51%, 37%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(66.7%, 0%, 67.4%, 44.7%)
CIE-LABlab(51.67, -46.62, 41.30)
CIE-LCHlch(51.67, 62.28, 138.46°)
OKLaboklab(56.79% -0.1267 0.0955)
OKLCHoklch(56.79% 0.159 143)
XYZxyz(11.1897, 19.8502, 5.8260)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D2E #8C2E8D
analogous
#5F8D2E #2F8D2E #2E8D5D
triadic
#2F8D2E #2E2F8D #8D2E2F
tetradic
#2F8D2E #2E5F8D #8C2E8D #8D5D2E
square
#2F8D2E #2E5F8D #8C2E8D #8D5D2E
split-complementary
#2F8D2E #5D2E8D #8D2E5F
monochromatic
#103110 #205F1F #2F8D2E #3EBB3D #69CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8D2E#FFFFFF#000000##000000
##2F8D2E1.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)
#908022
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d2e;
/* rgb */ color: rgb(47, 141, 46);
/* oklch */ color: oklch(56.8% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#74af6b',
    500: '#2f8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d2e;
$custom-light: #74af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d2e",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 119.368,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.15861,
    "h": 143
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#2F8D2E
secondary
#B462B5
accent
#4EDAD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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