#2F5D2E#2F5D2E

#2F5D2E is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.3% C 0.090 H 143.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2F5D2E
RGBrgb(47, 93, 46)
HSLhsl(119, 34%, 27%)
HSVhsv(119, 51%, 36%)
CMYKcmyk(49.5%, 0%, 50.5%, 63.5%)
CIE-LABlab(35.26, -26.63, 22.14)
CIE-LCHlch(35.26, 34.63, 140.26°)
OKLaboklab(43.28% -0.0725 0.0538)
OKLCHoklch(43.28% 0.09 143.4)
XYZxyz(5.5795, 8.6299, 3.9560)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D2E #5C2E5D
analogous
#475D2E #2F5D2E #2E5D44
triadic
#2F5D2E #2E2F5D #5D2E2F
tetradic
#2F5D2E #2E475D #5C2E5D #5D442E
square
#2F5D2E #2E475D #5C2E5D #5D442E
split-complementary
#2F5D2E #442E5D #5D2E47
monochromatic
#0A140A #1A341A #2F5D2E #448642 #5AAD59

Accessibility & contrast

On white

7.70
#2F5D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D2E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D2E#FFFFFF#000000##FFFFFF
##2F5D2E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#295B52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5d2e;
/* rgb */ color: rgb(47, 93, 46);
/* oklch */ color: oklch(43.3% 0.090 143.4);
Tailwind
colors: {
  custom: {
    50: '#6b8b67',
    500: '#2f5d2e',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d2e;
$custom-light: #6b8b67;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d2e",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 46
  },
  "hsl": {
    "h": 118.723,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.0903,
    "h": 143.4
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#2F5D2E
secondary
#8E588F
accent
#5ECAC8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F5D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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