#2F7024#2F7024

#2F7024 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.128 H 140.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2F7024
RGBrgb(47, 112, 36)
HSLhsl(111, 51%, 29%)
HSVhsv(111, 68%, 44%)
CMYKcmyk(58%, 0%, 67.9%, 56.1%)
CIE-LABlab(41.72, -36.40, 34.95)
CIE-LCHlch(41.72, 50.47, 136.16°)
OKLaboklab(48.54% -0.0996 0.0809)
OKLCHoklch(48.54% 0.128 140.9)
XYZxyz(7.2846, 12.3194, 3.6627)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7024 #652470
analogous
#557024 #2F7024 #24703F
triadic
#2F7024 #242F70 #70242F
tetradic
#2F7024 #245570 #652470 #703F24
square
#2F7024 #245570 #652470 #703F24
split-complementary
#2F7024 #3F2470 #702455
monochromatic
#0A1707 #1C4215 #2F7024 #429E33 #5BC54A

Accessibility & contrast

On white

6.06
#2F7024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F7024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7024
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7024#FFFFFF#000000##FFFFFF
##2F70241.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661B
Deuteranopia (green-blind)
#6B602B
Tritanopia (blue-blind)
#276C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7024;
/* rgb */ color: rgb(47, 112, 36);
/* oklch */ color: oklch(48.5% 0.128 140.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a62',
    500: '#2f7024',
    950: '#000000',
  },
}
SCSS
$custom: #2f7024;
$custom-light: #6f9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7024",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 36
  },
  "hsl": {
    "h": 111.316,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.12827,
    "h": 140.9
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#2F7024
secondary
#974DA3
accent
#4DDBC6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7024

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

Preview Lab → · Contrast checker → · Palette generator →

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