#2F8729#2F8729

#2F8729 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.155 H 142.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F8729
RGBrgb(47, 135, 41)
HSLhsl(116, 53%, 35%)
HSVhsv(116, 70%, 53%)
CMYKcmyk(65.2%, 0%, 69.6%, 47.1%)
CIE-LABlab(49.61, -44.90, 41.26)
CIE-LCHlch(49.61, 60.98, 137.42°)
OKLaboklab(55.07% -0.1223 0.0948)
OKLCHoklch(55.07% 0.155 142.2)
XYZxyz(10.2359, 18.0914, 5.0499)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8729 #812987
analogous
#5E8729 #2F8729 #298752
triadic
#2F8729 #292F87 #87292F
tetradic
#2F8729 #295E87 #812987 #875229
square
#2F8729 #295E87 #812987 #875229
split-complementary
#2F8729 #522987 #87295E
monochromatic
#0E290C #1F581B #2F8729 #3FB637 #64CE5D

Accessibility & contrast

On white

4.55
#2F8729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F8729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8729
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8729#FFFFFF#000000##000000
##2F87291.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1C
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#1E8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8729;
/* rgb */ color: rgb(47, 135, 41);
/* oklch */ color: oklch(55.1% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#73ab68',
    500: '#2f8729',
    950: '#000000',
  },
}
SCSS
$custom: #2f8729;
$custom-light: #73ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8729",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 116.17,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.15472,
    "h": 142.2
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#2F8729
secondary
#AD59B3
accent
#4BDDD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8729

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

Preview Lab → · Contrast checker → · Palette generator →

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