#2F581D#2F581D

#2F581D is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.100 H 137.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2F581D
RGBrgb(47, 88, 29)
HSLhsl(102, 50%, 23%)
HSVhsv(102, 67%, 35%)
CMYKcmyk(46.6%, 0%, 67%, 65.5%)
CIE-LABlab(33.29, -26.58, 29.02)
CIE-LCHlch(33.29, 39.35, 132.49°)
OKLaboklab(41.6% -0.0734 0.0674)
OKLCHoklch(41.6% 0.1 137.4)
XYZxyz(4.8836, 7.6722, 2.3857)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F581D #461D58
analogous
#4C581D #2F581D #1D5828
triadic
#2F581D #1D2F58 #581D2F
tetradic
#2F581D #1D4C58 #461D58 #58281D
square
#2F581D #1D4C58 #461D58 #58281D
split-complementary
#2F581D #281D58 #581D4C
monochromatic
#0C1708 #162A0E #2F581D #48862C #60B43B

Accessibility & contrast

On white

8.29
#2F581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F581D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F581D#FFFFFF#000000##FFFFFF
##2F581D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5016
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#2D554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f581d;
/* rgb */ color: rgb(47, 88, 29);
/* oklch */ color: oklch(41.6% 0.100 137.4);
Tailwind
colors: {
  custom: {
    50: '#6b875c',
    500: '#2f581d',
    950: '#000000',
  },
}
SCSS
$custom: #2f581d;
$custom-light: #6b875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f581d",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 101.695,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.09966,
    "h": 137.4
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#2F581D
secondary
#77448D
accent
#4EDAAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F581D

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

Preview Lab → · Contrast checker → · Palette generator →

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