#2F8124#2F8124

#2F8124 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.151 H 141.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8124
RGBrgb(47, 129, 36)
HSLhsl(113, 56%, 32%)
HSVhsv(113, 72%, 51%)
CMYKcmyk(63.6%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.54, -43.12, 41.18)
CIE-LCHlch(47.54, 59.63, 136.32°)
OKLaboklab(53.34% -0.1177 0.094)
OKLCHoklch(53.34% 0.151 141.4)
XYZxyz(9.3405, 16.4313, 4.3481)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8124 #762481
analogous
#5E8124 #2F8124 #248147
triadic
#2F8124 #242F81 #81242F
tetradic
#2F8124 #245E81 #762481 #814724
square
#2F8124 #245E81 #762481 #814724
split-complementary
#2F8124 #472481 #81245E
monochromatic
#0C2109 #1E5117 #2F8124 #40B131 #60CE51

Accessibility & contrast

On white

4.90
#2F8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F8124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8124
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8124#FFFFFF#000000##FFFFFF
##2F81241.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8124;
/* rgb */ color: rgb(47, 129, 36);
/* oklch */ color: oklch(53.3% 0.151 141.4);
Tailwind
colors: {
  custom: {
    50: '#72a664',
    500: '#2f8124',
    950: '#000000',
  },
}
SCSS
$custom: #2f8124;
$custom-light: #72a664;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8124",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 112.903,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.15066,
    "h": 141.4
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#2F8124
secondary
#A74EB2
accent
#48E0CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8124

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

Preview Lab → · Contrast checker → · Palette generator →

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