#2F8D34#2F8D34

#2F8D34 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.154 H 144.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F8D34
RGBrgb(47, 141, 52)
HSLhsl(123, 50%, 37%)
HSVhsv(123, 67%, 55%)
CMYKcmyk(66.7%, 0%, 63.1%, 44.7%)
CIE-LABlab(51.73, -45.94, 38.63)
CIE-LCHlch(51.73, 60.02, 139.94°)
OKLaboklab(56.86% -0.1245 0.0904)
OKLCHoklch(56.86% 0.154 144)
XYZxyz(11.3163, 19.9009, 6.4930)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D34 #8D2F88
analogous
#598D2F #2F8D34 #2F8D63
triadic
#2F8D34 #342F8D #8D342F
tetradic
#2F8D34 #2F598D #8D2F88 #8D632F
square
#2F8D34 #2F598D #8D2F88 #8D632F
split-complementary
#2F8D34 #632F8D #8D2F59
monochromatic
#103112 #205F23 #2F8D34 #3EBB45 #69CD6F

Accessibility & contrast

On white

4.22
#2F8D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2F8D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D34
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D34#FFFFFF#000000##000000
##2F8D341.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#18897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d34;
/* rgb */ color: rgb(47, 141, 52);
/* oklch */ color: oklch(56.9% 0.154 144.0);
Tailwind
colors: {
  custom: {
    50: '#74af6f',
    500: '#2f8d34',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d34;
$custom-light: #74af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d34",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 123.191,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.1539,
    "h": 144
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#2F8D34
secondary
#B464B0
accent
#4ED2DA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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