#2F7424#2F7424

#2F7424 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.134 H 141.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2F7424
RGBrgb(47, 116, 36)
HSLhsl(112, 53%, 30%)
HSVhsv(112, 69%, 45%)
CMYKcmyk(59.5%, 0%, 69%, 54.5%)
CIE-LABlab(43.10, -38.04, 36.45)
CIE-LCHlch(43.10, 52.69, 136.22°)
OKLaboklab(49.68% -0.104 0.0841)
OKLCHoklch(49.68% 0.134 141.1)
XYZxyz(7.7358, 13.2218, 3.8131)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7424 #692474
analogous
#577424 #2F7424 #247441
triadic
#2F7424 #242F74 #74242F
tetradic
#2F7424 #245774 #692474 #744124
square
#2F7424 #245774 #692474 #744124
split-complementary
#2F7424 #412474 #742457
monochromatic
#091707 #1C4516 #2F7424 #42A332 #5CC74B

Accessibility & contrast

On white

5.76
#2F7424 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F7424 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7424
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7424#FFFFFF#000000##FFFFFF
##2F74241.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691A
Deuteranopia (green-blind)
#6E642B
Tritanopia (blue-blind)
#267064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7424;
/* rgb */ color: rgb(47, 116, 36);
/* oklch */ color: oklch(49.7% 0.134 141.1);
Tailwind
colors: {
  custom: {
    50: '#709d63',
    500: '#2f7424',
    950: '#000000',
  },
}
SCSS
$custom: #2f7424;
$custom-light: #709d63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7424",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 36
  },
  "hsl": {
    "h": 111.75,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.13371,
    "h": 141.1
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#2F7424
secondary
#9A4DA7
accent
#4CDCC8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7424

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

Preview Lab → · Contrast checker → · Palette generator →

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