#2F7029#2F7029

#2F7029 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.124 H 142.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2F7029
RGBrgb(47, 112, 41)
HSLhsl(115, 46%, 30%)
HSVhsv(115, 63%, 44%)
CMYKcmyk(58%, 0%, 63.4%, 56.1%)
CIE-LABlab(41.77, -35.83, 32.60)
CIE-LCHlch(41.77, 48.45, 137.70°)
OKLaboklab(48.6% -0.0977 0.0764)
OKLCHoklch(48.6% 0.124 142)
XYZxyz(7.3663, 12.3522, 4.0934)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7029 #6A2970
analogous
#527029 #2F7029 #297047
triadic
#2F7029 #292F70 #70292F
tetradic
#2F7029 #295270 #6A2970 #704729
square
#2F7029 #295270 #6A2970 #704729
split-complementary
#2F7029 #472970 #702952
monochromatic
#091608 #1C4319 #2F7029 #429D39 #5CC053

Accessibility & contrast

On white

6.05
#2F7029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2F7029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7029
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7029#FFFFFF#000000##FFFFFF
##2F70291.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736621
Deuteranopia (green-blind)
#6A602F
Tritanopia (blue-blind)
#266D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7029;
/* rgb */ color: rgb(47, 112, 41);
/* oklch */ color: oklch(48.6% 0.124 142.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a65',
    500: '#2f7029',
    950: '#000000',
  },
}
SCSS
$custom: #2f7029;
$custom-light: #6f9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7029",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 41
  },
  "hsl": {
    "h": 114.93,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.12405,
    "h": 142
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#2F7029
secondary
#9B53A2
accent
#52D6CB
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7029

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

Preview Lab → · Contrast checker → · Palette generator →

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