#2F8334#2F8334

#2F8334 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.141 H 144.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2F8334
RGBrgb(47, 131, 52)
HSLhsl(124, 47%, 35%)
HSVhsv(124, 64%, 51%)
CMYKcmyk(64.1%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.37, -42.12, 34.77)
CIE-LCHlch(48.37, 54.62, 140.46°)
OKLaboklab(54.08% -0.1142 0.0821)
OKLCHoklch(54.08% 0.141 144.3)
XYZxyz(9.9078, 17.0839, 6.0235)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8334 #832F7E
analogous
#54832F #2F8334 #2F835E
triadic
#2F8334 #342F83 #83342F
tetradic
#2F8334 #2F5483 #832F7E #835E2F
square
#2F8334 #2F5483 #832F7E #835E2F
split-complementary
#2F8334 #5E2F83 #832F54
monochromatic
#0F2910 #1F5622 #2F8334 #3FB046 #65C86B

Accessibility & contrast

On white

4.75
#2F8334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F8334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8334
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8334#FFFFFF#000000##FFFFFF
##2F83341.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#1D8072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8334;
/* rgb */ color: rgb(47, 131, 52);
/* oklch */ color: oklch(54.1% 0.141 144.3);
Tailwind
colors: {
  custom: {
    50: '#72a86e',
    500: '#2f8334',
    950: '#000000',
  },
}
SCSS
$custom: #2f8334;
$custom-light: #72a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8334",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 123.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.14065,
    "h": 144.3
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#2F8334
secondary
#AF5FAA
accent
#51CFD7
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8334

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

Preview Lab → · Contrast checker → · Palette generator →

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