#2F7329#2F7329

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

Color values

HEX#2F7329
RGBrgb(47, 115, 41)
HSLhsl(115, 47%, 31%)
HSVhsv(115, 64%, 45%)
CMYKcmyk(59.1%, 0%, 64.3%, 54.9%)
CIE-LABlab(42.80, -37.08, 33.78)
CIE-LCHlch(42.80, 50.16, 137.67°)
OKLaboklab(49.45% -0.1011 0.0789)
OKLCHoklch(49.45% 0.128 142)
XYZxyz(7.7029, 13.0252, 4.2056)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7329 #6D2973
analogous
#547329 #2F7329 #297348
triadic
#2F7329 #292F73 #73292F
tetradic
#2F7329 #295473 #6D2973 #734829
square
#2F7329 #295473 #6D2973 #734829
split-complementary
#2F7329 #482973 #732954
monochromatic
#0A1909 #1D4619 #2F7329 #41A039 #5DC254

Accessibility & contrast

On white

5.82
#2F7329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2F7329 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7329
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7329#FFFFFF#000000##FFFFFF
##2F73291.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#257063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7329;
/* rgb */ color: rgb(47, 115, 41);
/* oklch */ color: oklch(49.5% 0.128 142.0);
Tailwind
colors: {
  custom: {
    50: '#6f9c66',
    500: '#2f7329',
    950: '#000000',
  },
}
SCSS
$custom: #2f7329;
$custom-light: #6f9c66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7329",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 41
  },
  "hsl": {
    "h": 115.135,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.12825,
    "h": 142
  },
  "luminance": 0.13026
}

Semantic roles & 50–950 ramp

primary
#2F7329
secondary
#9E53A5
accent
#51D7CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7329

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

Preview Lab → · Contrast checker → · Palette generator →

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