#2F9729#2F9729

#2F9729 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.174 H 142.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F9729
RGBrgb(47, 151, 41)
HSLhsl(117, 57%, 38%)
HSVhsv(117, 73%, 59%)
CMYKcmyk(68.9%, 0%, 72.8%, 40.8%)
CIE-LABlab(54.97, -50.68, 46.88)
CIE-LCHlch(54.97, 69.04, 137.23°)
OKLaboklab(59.51% -0.1379 0.1066)
OKLCHoklch(59.51% 0.174 142.3)
XYZxyz(12.6384, 22.8963, 5.8508)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9729 #912997
analogous
#669729 #2F9729 #29975A
triadic
#2F9729 #292F97 #97292F
tetradic
#2F9729 #296697 #912997 #975A29
square
#2F9729 #296697 #912997 #975A29
split-complementary
#2F9729 #5A2997 #972966
monochromatic
#11370F #20671C #2F9729 #3EC736 #6BD565

Accessibility & contrast

On white

3.76
#2F9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2F9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9729
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9729#FFFFFF#000000##000000
##2F97291.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#169281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9729;
/* rgb */ color: rgb(47, 151, 41);
/* oklch */ color: oklch(59.5% 0.174 142.3);
Tailwind
colors: {
  custom: {
    50: '#77b76a',
    500: '#2f9729',
    950: '#000000',
  },
}
SCSS
$custom: #2f9729;
$custom-light: #77b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9729",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 116.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.17431,
    "h": 142.3
  },
  "luminance": 0.22898
}

Semantic roles & 50–950 ramp

primary
#2F9729
secondary
#B661BB
accent
#47E1D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2F9729

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

Preview Lab → · Contrast checker → · Palette generator →

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