#2F4E27#2F4E27

#2F4E27 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.9% C 0.073 H 139.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2F4E27
RGBrgb(47, 78, 39)
HSLhsl(108, 33%, 23%)
HSVhsv(108, 50%, 31%)
CMYKcmyk(39.7%, 0%, 50%, 69.4%)
CIE-LABlab(29.91, -20.24, 19.49)
CIE-LCHlch(29.91, 28.10, 136.09°)
OKLaboklab(38.88% -0.0554 0.0475)
OKLCHoklch(38.88% 0.073 139.4)
XYZxyz(4.2627, 6.1994, 2.8911)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E27 #46274E
analogous
#424E27 #2F4E27 #274E32
triadic
#2F4E27 #272F4E #4E272F
tetradic
#2F4E27 #27424E #46274E #4E3227
square
#2F4E27 #27424E #46274E #4E3227
split-complementary
#2F4E27 #32274E #4E2742
monochromatic
#0C140A #162513 #2F4E27 #48773B #60A050

Accessibility & contrast

On white

9.38
#2F4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2F4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E27
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E27#FFFFFF#000000##FFFFFF
##2F4E271.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#4C4529
Tritanopia (blue-blind)
#2D4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e27;
/* rgb */ color: rgb(47, 78, 39);
/* oklch */ color: oklch(38.9% 0.073 139.4);
Tailwind
colors: {
  custom: {
    50: '#698062',
    500: '#2f4e27',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e27;
$custom-light: #698062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e27",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 107.692,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.07293,
    "h": 139.4
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#2F4E27
secondary
#775081
accent
#5EC9B3
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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