#2F5925#2F5925

#2F5925 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.093 H 139.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2F5925
RGBrgb(47, 89, 37)
HSLhsl(108, 41%, 25%)
HSVhsv(108, 58%, 35%)
CMYKcmyk(47.2%, 0%, 58.4%, 65.1%)
CIE-LABlab(33.74, -26.06, 25.32)
CIE-LCHlch(33.74, 36.34, 135.82°)
OKLaboklab(41.99% -0.0714 0.0603)
OKLCHoklch(41.99% 0.093 139.8)
XYZxyz(5.0784, 7.8823, 3.0038)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5925 #4F2559
analogous
#495925 #2F5925 #255935
triadic
#2F5925 #252F59 #59252F
tetradic
#2F5925 #254959 #4F2559 #593525
square
#2F5925 #254959 #4F2559 #593525
split-complementary
#2F5925 #352559 #592549
monochromatic
#0B1609 #182E13 #2F5925 #468437 #5DAF49

Accessibility & contrast

On white

8.15
#2F5925 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2F5925 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5925
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5925#FFFFFF#000000##FFFFFF
##2F59251.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5220
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#2C564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5925;
/* rgb */ color: rgb(47, 89, 37);
/* oklch */ color: oklch(42.0% 0.093 139.8);
Tailwind
colors: {
  custom: {
    50: '#6b8861',
    500: '#2f5925',
    950: '#000000',
  },
}
SCSS
$custom: #2f5925;
$custom-light: #6b8861;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5925",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 37
  },
  "hsl": {
    "h": 108.462,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.09344,
    "h": 139.8
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#2F5925
secondary
#804D8C
accent
#57D1BA
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070B05
muted
#7A7C79

Preview Lab

Preview with #2F5925

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

Preview Lab → · Contrast checker → · Palette generator →

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