#2F4E26#2F4E26

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

Color values

HEX#2F4E26
RGBrgb(47, 78, 38)
HSLhsl(107, 34%, 23%)
HSVhsv(107, 51%, 31%)
CMYKcmyk(39.7%, 0%, 51.3%, 69.4%)
CIE-LABlab(29.89, -20.40, 20.06)
CIE-LCHlch(29.89, 28.61, 135.48°)
OKLaboklab(38.86% -0.0559 0.0487)
OKLCHoklch(38.86% 0.074 138.9)
XYZxyz(4.2464, 6.1929, 2.8049)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E26 #45264E
analogous
#434E26 #2F4E26 #264E31
triadic
#2F4E26 #262F4E #4E262F
tetradic
#2F4E26 #26434E #45264E #4E3126
square
#2F4E26 #26434E #45264E #4E3126
split-complementary
#2F4E26 #31264E #4E2643
monochromatic
#0C150A #162512 #2F4E26 #48773A #61A04E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4E26#FFFFFF#000000##FFFFFF
##2F4E261.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)
#504823
Deuteranopia (green-blind)
#4C4529
Tritanopia (blue-blind)
#2D4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e26;
/* rgb */ color: rgb(47, 78, 38);
/* oklch */ color: oklch(38.9% 0.074 138.9);
Tailwind
colors: {
  custom: {
    50: '#698061',
    500: '#2f4e26',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e26;
$custom-light: #698061;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e26",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 38
  },
  "hsl": {
    "h": 106.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.0741,
    "h": 138.9
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#2F4E26
secondary
#764F81
accent
#5DCBB2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F4E26

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

Preview Lab → · Contrast checker → · Palette generator →

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