#2F5E27#2F5E27

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

Color values

HEX#2F5E27
RGBrgb(47, 94, 39)
HSLhsl(111, 41%, 26%)
HSVhsv(111, 59%, 37%)
CMYKcmyk(50%, 0%, 58.5%, 63.1%)
CIE-LABlab(35.51, -28.15, 26.35)
CIE-LCHlch(35.51, 38.56, 136.90°)
OKLaboklab(43.45% -0.077 0.0627)
OKLCHoklch(43.45% 0.099 140.8)
XYZxyz(5.5410, 8.7558, 3.3171)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E27 #56275E
analogous
#4A5E27 #2F5E27 #275E3A
triadic
#2F5E27 #272F5E #5E272F
tetradic
#2F5E27 #274A5E #56275E #5E3A27
square
#2F5E27 #274A5E #56275E #5E3A27
split-complementary
#2F5E27 #3A275E #5E274A
monochromatic
#0B1609 #193315 #2F5E27 #458939 #5AB44B

Accessibility & contrast

On white

7.63
#2F5E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F5E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E27
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E27#FFFFFF#000000##FFFFFF
##2F5E271.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#2A5B52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e27;
/* rgb */ color: rgb(47, 94, 39);
/* oklch */ color: oklch(43.5% 0.099 140.8);
Tailwind
colors: {
  custom: {
    50: '#6c8c63',
    500: '#2f5e27',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e27;
$custom-light: #6c8c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e27",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 39
  },
  "hsl": {
    "h": 111.273,
    "s": 41.353,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.09926,
    "h": 140.8
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

primary
#2F5E27
secondary
#875091
accent
#57D1BF
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F5E27

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

Preview Lab → · Contrast checker → · Palette generator →

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