#2F8129#2F8129

#2F8129 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.147 H 142.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8129
RGBrgb(47, 129, 41)
HSLhsl(116, 52%, 33%)
HSVhsv(116, 68%, 51%)
CMYKcmyk(63.6%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.58, -42.63, 39.07)
CIE-LCHlch(47.58, 57.83, 137.50°)
OKLaboklab(53.39% -0.1161 0.0902)
OKLCHoklch(53.39% 0.147 142.2)
XYZxyz(9.4223, 16.4640, 4.7787)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8129 #7B2981
analogous
#5B8129 #2F8129 #29814F
triadic
#2F8129 #292F81 #81292F
tetradic
#2F8129 #295B81 #7B2981 #814F29
square
#2F8129 #295B81 #7B2981 #814F29
split-complementary
#2F8129 #4F2981 #81295B
monochromatic
#0D240B #1E531A #2F8129 #40AF38 #62CB5A

Accessibility & contrast

On white

4.89
#2F8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F8129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8129
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8129#FFFFFF#000000##FFFFFF
##2F81291.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#217D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8129;
/* rgb */ color: rgb(47, 129, 41);
/* oklch */ color: oklch(53.4% 0.147 142.2);
Tailwind
colors: {
  custom: {
    50: '#72a667',
    500: '#2f8129',
    950: '#000000',
  },
}
SCSS
$custom: #2f8129;
$custom-light: #72a667;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8129",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 115.909,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.14704,
    "h": 142.2
  },
  "luminance": 0.16465
}

Semantic roles & 50–950 ramp

primary
#2F8129
secondary
#AA56B0
accent
#4DDBD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8129

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

Preview Lab → · Contrast checker → · Palette generator →

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