#2F7D26#2F7D26

#2F7D26 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.144 H 141.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F7D26
RGBrgb(47, 125, 38)
HSLhsl(114, 53%, 32%)
HSVhsv(114, 70%, 49%)
CMYKcmyk(62.4%, 0%, 69.6%, 51%)
CIE-LABlab(46.19, -41.40, 38.90)
CIE-LCHlch(46.19, 56.81, 136.78°)
OKLaboklab(52.24% -0.113 0.0895)
OKLCHoklch(52.24% 0.144 141.6)
XYZxyz(8.8553, 15.4107, 4.3412)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D26 #74267D
analogous
#5B7D26 #2F7D26 #267D49
triadic
#2F7D26 #262F7D #7D262F
tetradic
#2F7D26 #265B7D #74267D #7D4926
square
#2F7D26 #265B7D #74267D #7D4926
split-complementary
#2F7D26 #49267D #7D265B
monochromatic
#0C1F09 #1D4E18 #2F7D26 #41AC34 #5FCB53

Accessibility & contrast

On white

5.14
#2F7D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D26
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D26#FFFFFF#000000##FFFFFF
##2F7D261.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80711A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#23796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d26;
/* rgb */ color: rgb(47, 125, 38);
/* oklch */ color: oklch(52.2% 0.144 141.6);
Tailwind
colors: {
  custom: {
    50: '#71a365',
    500: '#2f7d26',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d26;
$custom-light: #71a365;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d26",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 113.793,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.1441,
    "h": 141.6
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7D26

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

Preview Lab → · Contrast checker → · Palette generator →

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