#2F5E2A#2F5E2A

#2F5E2A is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.096 H 141.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2F5E2A
RGBrgb(47, 94, 42)
HSLhsl(114, 38%, 27%)
HSVhsv(114, 55%, 37%)
CMYKcmyk(50%, 0%, 55.3%, 63.1%)
CIE-LABlab(35.55, -27.72, 24.75)
CIE-LCHlch(35.55, 37.17, 138.24°)
OKLaboklab(43.5% -0.0756 0.0594)
OKLCHoklch(43.5% 0.096 141.8)
XYZxyz(5.5927, 8.7765, 3.5894)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E2A #592A5E
analogous
#495E2A #2F5E2A #2A5E3F
triadic
#2F5E2A #2A2F5E #5E2A2F
tetradic
#2F5E2A #2A495E #592A5E #5E3F2A
square
#2F5E2A #2A495E #592A5E #5E3F2A
split-complementary
#2F5E2A #3F2A5E #5E2A49
monochromatic
#0B1509 #1A3417 #2F5E2A #44883D #5AB151

Accessibility & contrast

On white

7.62
#2F5E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2F5E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E2A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E2A#FFFFFF#000000##FFFFFF
##2F5E2A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#2A5B52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5e2a;
/* rgb */ color: rgb(47, 94, 42);
/* oklch */ color: oklch(43.5% 0.096 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b8c65',
    500: '#2f5e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e2a;
$custom-light: #6b8c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e2a",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 114.231,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.09619,
    "h": 141.8
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#2F5E2A
secondary
#8B5390
accent
#5ACEC3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #2F5E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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