#2F7129#2F7129

#2F7129 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.125 H 142.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#2F7129
RGBrgb(47, 113, 41)
HSLhsl(115, 47%, 30%)
HSVhsv(115, 64%, 44%)
CMYKcmyk(58.4%, 0%, 63.7%, 55.7%)
CIE-LABlab(42.11, -36.25, 33.00)
CIE-LCHlch(42.11, 49.02, 137.69°)
OKLaboklab(48.89% -0.0988 0.0773)
OKLCHoklch(48.89% 0.125 142)
XYZxyz(7.4773, 12.5741, 4.1304)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7129 #6B2971
analogous
#537129 #2F7129 #297147
triadic
#2F7129 #292F71 #71292F
tetradic
#2F7129 #295371 #6B2971 #714729
square
#2F7129 #295371 #6B2971 #714729
split-complementary
#2F7129 #472971 #712953
monochromatic
#0A1708 #1C4419 #2F7129 #429E39 #5DC154

Accessibility & contrast

On white

5.97
#2F7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F7129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7129
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7129#FFFFFF#000000##FFFFFF
##2F71291.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#266E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7129;
/* rgb */ color: rgb(47, 113, 41);
/* oklch */ color: oklch(48.9% 0.125 142.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a66',
    500: '#2f7129',
    950: '#000000',
  },
}
SCSS
$custom: #2f7129;
$custom-light: #6f9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7129",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 115,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.12546,
    "h": 142
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#2F7129
secondary
#9C53A3
accent
#51D6CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7129

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

Preview Lab → · Contrast checker → · Palette generator →

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