#2F7529#2F7529

#2F7529 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.131 H 142.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7529
RGBrgb(47, 117, 41)
HSLhsl(115, 48%, 31%)
HSVhsv(115, 65%, 46%)
CMYKcmyk(59.8%, 0%, 65%, 54.1%)
CIE-LABlab(43.49, -37.90, 34.55)
CIE-LCHlch(43.49, 51.28, 137.65°)
OKLaboklab(50.02% -0.1033 0.0806)
OKLCHoklch(50.02% 0.131 142)
XYZxyz(7.9334, 13.4863, 4.2824)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7529 #6F2975
analogous
#557529 #2F7529 #297549
triadic
#2F7529 #292F75 #75292F
tetradic
#2F7529 #295575 #6F2975 #754929
square
#2F7529 #295575 #6F2975 #754929
split-complementary
#2F7529 #492975 #752955
monochromatic
#0B1A09 #1D4819 #2F7529 #41A239 #5EC355

Accessibility & contrast

On white

5.68
#2F7529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2F7529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7529
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7529#FFFFFF#000000##FFFFFF
##2F75291.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A20
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7529;
/* rgb */ color: rgb(47, 117, 41);
/* oklch */ color: oklch(50.0% 0.131 142.0);
Tailwind
colors: {
  custom: {
    50: '#709d66',
    500: '#2f7529',
    950: '#000000',
  },
}
SCSS
$custom: #2f7529;
$custom-light: #709d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7529",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 41
  },
  "hsl": {
    "h": 115.263,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.13101,
    "h": 142
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7529

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

Preview Lab → · Contrast checker → · Palette generator →

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