#2F4E24#2F4E24

#2F4E24 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.076 H 138.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2F4E24
RGBrgb(47, 78, 36)
HSLhsl(104, 37%, 22%)
HSVhsv(104, 54%, 31%)
CMYKcmyk(39.7%, 0%, 53.8%, 69.4%)
CIE-LABlab(29.86, -20.71, 21.19)
CIE-LCHlch(29.86, 29.63, 134.34°)
OKLaboklab(38.83% -0.0568 0.0511)
OKLCHoklch(38.83% 0.076 138)
XYZxyz(4.2150, 6.1803, 2.6395)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E24 #43244E
analogous
#444E24 #2F4E24 #244E2E
triadic
#2F4E24 #242F4E #4E242F
tetradic
#2F4E24 #24444E #43244E #4E2E24
square
#2F4E24 #24444E #43244E #4E2E24
split-complementary
#2F4E24 #2E244E #4E2444
monochromatic
#0D150A #162411 #2F4E24 #487837 #61A24B

Accessibility & contrast

On white

9.39
#2F4E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E24
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E24#FFFFFF#000000##FFFFFF
##2F4E241.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504820
Deuteranopia (green-blind)
#4C4527
Tritanopia (blue-blind)
#2D4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e24;
/* rgb */ color: rgb(47, 78, 36);
/* oklch */ color: oklch(38.8% 0.076 138.0);
Tailwind
colors: {
  custom: {
    50: '#69805f',
    500: '#2f4e24',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e24;
$custom-light: #69805f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e24",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 36
  },
  "hsl": {
    "h": 104.286,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.0764,
    "h": 138
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#2F4E24
secondary
#744C81
accent
#5BCDAF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F4E24

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

Preview Lab → · Contrast checker → · Palette generator →

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