#2F7E26#2F7E26

#2F7E26 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.145 H 141.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7E26
RGBrgb(47, 126, 38)
HSLhsl(114, 54%, 32%)
HSVhsv(114, 70%, 49%)
CMYKcmyk(62.7%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.53, -41.79, 39.27)
CIE-LCHlch(46.53, 57.34, 136.78°)
OKLaboklab(52.52% -0.114 0.0902)
OKLCHoklch(52.52% 0.145 141.6)
XYZxyz(8.9825, 15.6651, 4.3837)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E26 #75267E
analogous
#5B7E26 #2F7E26 #267E49
triadic
#2F7E26 #262F7E #7E262F
tetradic
#2F7E26 #265B7E #75267E #7E4926
square
#2F7E26 #265B7E #75267E #7E4926
split-complementary
#2F7E26 #49267E #7E265B
monochromatic
#0C200A #1D4F18 #2F7E26 #41AD34 #5FCB53

Accessibility & contrast

On white

5.08
#2F7E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F7E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E26
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E26#FFFFFF#000000##FFFFFF
##2F7E261.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721A
Deuteranopia (green-blind)
#776C2E
Tritanopia (blue-blind)
#227A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e26;
/* rgb */ color: rgb(47, 126, 38);
/* oklch */ color: oklch(52.5% 0.145 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a465',
    500: '#2f7e26',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e26;
$custom-light: #72a465;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e26",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 113.864,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.14539,
    "h": 141.6
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#2F7E26
secondary
#A650B0
accent
#4BDDCE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7E26

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

Preview Lab → · Contrast checker → · Palette generator →

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