#2F7429#2F7429

#2F7429 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.130 H 142.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#2F7429
RGBrgb(47, 116, 41)
HSLhsl(115, 48%, 31%)
HSVhsv(115, 65%, 45%)
CMYKcmyk(59.5%, 0%, 64.7%, 54.5%)
CIE-LABlab(43.14, -37.49, 34.16)
CIE-LCHlch(43.14, 50.72, 137.66°)
OKLaboklab(49.73% -0.1022 0.0798)
OKLCHoklch(49.73% 0.13 142)
XYZxyz(7.8175, 13.2545, 4.2438)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7429 #6E2974
analogous
#547429 #2F7429 #297448
triadic
#2F7429 #292F74 #74292F
tetradic
#2F7429 #295474 #6E2974 #744829
square
#2F7429 #295474 #6E2974 #744829
split-complementary
#2F7429 #482974 #742954
monochromatic
#0A1A09 #1D4719 #2F7429 #41A139 #5DC355

Accessibility & contrast

On white

5.75
#2F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2F7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7429
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7429#FFFFFF#000000##FFFFFF
##2F74291.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A20
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#257164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7429;
/* rgb */ color: rgb(47, 116, 41);
/* oklch */ color: oklch(49.7% 0.130 142.0);
Tailwind
colors: {
  custom: {
    50: '#6f9d66',
    500: '#2f7429',
    950: '#000000',
  },
}
SCSS
$custom: #2f7429;
$custom-light: #6f9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7429",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 115.2,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.12963,
    "h": 142
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#2F7429
secondary
#9F53A6
accent
#50D7CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7429

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

Preview Lab → · Contrast checker → · Palette generator →

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