#2F7629#2F7629

#2F7629 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.132 H 142.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7629
RGBrgb(47, 118, 41)
HSLhsl(115, 48%, 31%)
HSVhsv(115, 65%, 46%)
CMYKcmyk(60.2%, 0%, 65.3%, 53.7%)
CIE-LABlab(43.83, -38.30, 34.93)
CIE-LCHlch(43.83, 51.84, 137.63°)
OKLaboklab(50.3% -0.1044 0.0814)
OKLCHoklch(50.3% 0.132 142.1)
XYZxyz(8.0506, 13.7206, 4.3215)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7629 #702976
analogous
#557629 #2F7629 #297649
triadic
#2F7629 #292F76 #76292F
tetradic
#2F7629 #295576 #702976 #764929
square
#2F7629 #295576 #702976 #764929
split-complementary
#2F7629 #492976 #762955
monochromatic
#0B1B09 #1D4919 #2F7629 #41A339 #5EC455

Accessibility & contrast

On white

5.61
#2F7629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7629
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7629#FFFFFF#000000##FFFFFF
##2F76291.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B20
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#247266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7629;
/* rgb */ color: rgb(47, 118, 41);
/* oklch */ color: oklch(50.3% 0.132 142.1);
Tailwind
colors: {
  custom: {
    50: '#709e66',
    500: '#2f7629',
    950: '#000000',
  },
}
SCSS
$custom: #2f7629;
$custom-light: #709e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7629",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 115.325,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.13238,
    "h": 142.1
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#2F7629
secondary
#A153A8
accent
#50D8CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7629

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

Preview Lab → · Contrast checker → · Palette generator →

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