#2F8A2F#2F8A2F

#2F8A2F is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.154 H 143.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F8A2F
RGBrgb(47, 138, 47)
HSLhsl(120, 49%, 36%)
HSVhsv(120, 66%, 54%)
CMYKcmyk(65.9%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.67, -45.40, 39.76)
CIE-LCHlch(50.67, 60.35, 138.79°)
OKLaboklab(55.97% -0.1233 0.0923)
OKLCHoklch(55.97% 0.154 143.2)
XYZxyz(10.7732, 18.9855, 5.7856)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A2F #8A2F8A
analogous
#5D8A2F #2F8A2F #2F8A5D
triadic
#2F8A2F #2F2F8A #8A2F2F
tetradic
#2F8A2F #2F5D8A #8A2F8A #8A5D2F
square
#2F8A2F #2F5D8A #8A2F8A #8A5D2F
split-complementary
#2F8A2F #5D2F8A #8A2F5D
monochromatic
#102F10 #1F5C1F #2F8A2F #3FB83F #68CC68

Accessibility & contrast

On white

4.38
#2F8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F8A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A2F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A2F#FFFFFF#000000##000000
##2F8A2F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#1B8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a2f;
/* rgb */ color: rgb(47, 138, 47);
/* oklch */ color: oklch(56.0% 0.154 143.2);
Tailwind
colors: {
  custom: {
    50: '#74ad6c',
    500: '#2f8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a2f;
$custom-light: #74ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a2f",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.15402,
    "h": 143.2
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#2F8A2F
secondary
#B362B3
accent
#4FD9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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