#2F4E25#2F4E25

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

Color values

HEX#2F4E25
RGBrgb(47, 78, 37)
HSLhsl(105, 36%, 23%)
HSVhsv(105, 53%, 31%)
CMYKcmyk(39.7%, 0%, 52.6%, 69.4%)
CIE-LABlab(29.88, -20.55, 20.63)
CIE-LCHlch(29.88, 29.12, 134.90°)
OKLaboklab(38.84% -0.0563 0.0499)
OKLCHoklch(38.84% 0.075 138.5)
XYZxyz(4.2305, 6.1865, 2.7211)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E25 #44254E
analogous
#434E25 #2F4E25 #254E30
triadic
#2F4E25 #252F4E #4E252F
tetradic
#2F4E25 #25434E #44254E #4E3025
square
#2F4E25 #25434E #44254E #4E3025
split-complementary
#2F4E25 #30254E #4E2543
monochromatic
#0D150A #162411 #2F4E25 #487839 #61A14C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4E25#FFFFFF#000000##FFFFFF
##2F4E251.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)
#504822
Deuteranopia (green-blind)
#4C4528
Tritanopia (blue-blind)
#2D4C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e25;
/* rgb */ color: rgb(47, 78, 37);
/* oklch */ color: oklch(38.8% 0.075 138.5);
Tailwind
colors: {
  custom: {
    50: '#698060',
    500: '#2f4e25',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e25;
$custom-light: #698060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e25",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 37
  },
  "hsl": {
    "h": 105.366,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38844,
    "c": 0.07525,
    "h": 138.5
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#2F4E25
secondary
#754E81
accent
#5CCCB0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F4E25

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

Preview Lab → · Contrast checker → · Palette generator →

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