#2F4E28#2F4E28

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

Color values

HEX#2F4E28
RGBrgb(47, 78, 40)
HSLhsl(109, 32%, 23%)
HSVhsv(109, 49%, 31%)
CMYKcmyk(39.7%, 0%, 48.7%, 69.4%)
CIE-LABlab(29.93, -20.08, 18.92)
CIE-LCHlch(29.93, 27.59, 136.71°)
OKLaboklab(38.9% -0.0549 0.0462)
OKLCHoklch(38.9% 0.072 139.9)
XYZxyz(4.2795, 6.2061, 2.9795)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E28 #47284E
analogous
#424E28 #2F4E28 #284E34
triadic
#2F4E28 #282F4E #4E282F
tetradic
#2F4E28 #28424E #47284E #4E3428
square
#2F4E28 #28424E #47284E #4E3428
split-complementary
#2F4E28 #34284E #4E2842
monochromatic
#0C140A #172613 #2F4E28 #47763D #609F51

Accessibility & contrast

On white

9.37
#2F4E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E28
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E28#FFFFFF#000000##FFFFFF
##2F4E281.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4e28;
/* rgb */ color: rgb(47, 78, 40);
/* oklch */ color: oklch(38.9% 0.072 139.9);
Tailwind
colors: {
  custom: {
    50: '#698062',
    500: '#2f4e28',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e28;
$custom-light: #698062;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e28",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 108.947,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.07175,
    "h": 139.9
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#2F4E28
secondary
#785181
accent
#5FC8B5
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F4E28

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

Preview Lab → · Contrast checker → · Palette generator →

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