#2F7626#2F7626

#2F7626 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.135 H 141.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7626
RGBrgb(47, 118, 38)
HSLhsl(113, 51%, 31%)
HSVhsv(113, 68%, 46%)
CMYKcmyk(60.2%, 0%, 67.8%, 53.7%)
CIE-LABlab(43.80, -38.63, 36.31)
CIE-LCHlch(43.80, 53.02, 136.78°)
OKLaboklab(50.27% -0.1055 0.084)
OKLCHoklch(50.27% 0.135 141.5)
XYZxyz(8.0002, 13.7004, 4.0562)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7626 #6D2676
analogous
#577626 #2F7626 #267645
triadic
#2F7626 #262F76 #76262F
tetradic
#2F7626 #265776 #6D2676 #764526
square
#2F7626 #265776 #6D2676 #764526
split-complementary
#2F7626 #452676 #762657
monochromatic
#0A1908 #1D4817 #2F7626 #41A435 #5DC750

Accessibility & contrast

On white

5.61
#2F7626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7626
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7626#FFFFFF#000000##FFFFFF
##2F76261.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1C
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#257265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7626;
/* rgb */ color: rgb(47, 118, 38);
/* oklch */ color: oklch(50.3% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#709e64',
    500: '#2f7626',
    950: '#000000',
  },
}
SCSS
$custom: #2f7626;
$custom-light: #709e64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7626",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 113.25,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.13483,
    "h": 141.5
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#2F7626
secondary
#9E4FA8
accent
#4DDBCB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7626

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

Preview Lab → · Contrast checker → · Palette generator →

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