#2F8126#2F8126

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

Color values

HEX#2F8126
RGBrgb(47, 129, 38)
HSLhsl(114, 54%, 33%)
HSVhsv(114, 71%, 51%)
CMYKcmyk(63.6%, 0%, 70.5%, 49.4%)
CIE-LABlab(47.55, -42.94, 40.35)
CIE-LCHlch(47.55, 58.92, 136.77°)
OKLaboklab(53.36% -0.1171 0.0925)
OKLCHoklch(53.36% 0.149 141.7)
XYZxyz(9.3719, 16.4439, 4.5134)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8126 #782681
analogous
#5C8126 #2F8126 #26814A
triadic
#2F8126 #262F81 #81262F
tetradic
#2F8126 #265C81 #782681 #814A26
square
#2F8126 #265C81 #782681 #814A26
split-complementary
#2F8126 #4A2681 #81265C
monochromatic
#0D220A #1E5218 #2F8126 #40B034 #60CD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8126#FFFFFF#000000##FFFFFF
##2F81261.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)
#847519
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#217D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8126;
/* rgb */ color: rgb(47, 129, 38);
/* oklch */ color: oklch(53.4% 0.149 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a665',
    500: '#2f8126',
    950: '#000000',
  },
}
SCSS
$custom: #2f8126;
$custom-light: #72a665;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8126",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 114.066,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53363,
    "c": 0.14926,
    "h": 141.7
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#2F8126
secondary
#A851B1
accent
#4ADECF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8126

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

Preview Lab → · Contrast checker → · Palette generator →

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