#2F6A3E#2F6A3E

#2F6A3E is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.3% C 0.094 H 149.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2F6A3E
RGBrgb(47, 106, 62)
HSLhsl(135, 39%, 30%)
HSVhsv(135, 56%, 42%)
CMYKcmyk(55.7%, 0%, 41.5%, 58.4%)
CIE-LABlab(40.01, -29.93, 19.01)
CIE-LCHlch(40.01, 35.46, 147.57°)
OKLaboklab(47.26% -0.0812 0.0473)
OKLCHoklch(47.26% 0.094 149.8)
XYZxyz(7.1953, 11.2596, 6.3506)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A3E #6A2F5B
analogous
#3E6A2F #2F6A3E #2F6A5B
triadic
#2F6A3E #3E2F6A #6A3E2F
tetradic
#2F6A3E #2F3E6A #6A2F5B #6A5B2F
square
#2F6A3E #2F3E6A #6A2F5B #6A5B2F
split-complementary
#2F6A3E #5B2F6A #6A2F3E
monochromatic
#09150C #1C4025 #2F6A3E #429457 #5CB773

Accessibility & contrast

On white

6.46
#2F6A3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2F6A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A3E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A3E#FFFFFF#000000##FFFFFF
##2F6A3E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623B
Deuteranopia (green-blind)
#635C41
Tritanopia (blue-blind)
#22685F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2f6a3e;
/* rgb */ color: rgb(47, 106, 62);
/* oklch */ color: oklch(47.3% 0.094 149.8);
Tailwind
colors: {
  custom: {
    50: '#6d9574',
    500: '#2f6a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a3e;
$custom-light: #6d9574;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a3e",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 62
  },
  "hsl": {
    "h": 135.254,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.09392,
    "h": 149.8
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#2F6A3E
secondary
#9B598B
accent
#59B1CE
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2F6A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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