#2F581C#2F581C

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

Color values

HEX#2F581C
RGBrgb(47, 88, 28)
HSLhsl(101, 52%, 23%)
HSVhsv(101, 68%, 35%)
CMYKcmyk(46.6%, 0%, 68.2%, 65.5%)
CIE-LABlab(33.28, -26.69, 29.51)
CIE-LCHlch(33.28, 39.78, 132.13°)
OKLaboklab(41.58% -0.0737 0.0683)
OKLCHoklch(41.58% 0.101 137.2)
XYZxyz(4.8715, 7.6673, 2.3216)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F581C #451C58
analogous
#4D581C #2F581C #1C5827
triadic
#2F581C #1C2F58 #581C2F
tetradic
#2F581C #1C4D58 #451C58 #58271C
square
#2F581C #1C4D58 #451C58 #58271C
split-complementary
#2F581C #271C58 #581C4D
monochromatic
#0C1707 #162A0D #2F581C #48862B #61B53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F581C#FFFFFF#000000##FFFFFF
##2F581C1.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)
#5B5015
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#2D554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f581c;
/* rgb */ color: rgb(47, 88, 28);
/* oklch */ color: oklch(41.6% 0.101 137.2);
Tailwind
colors: {
  custom: {
    50: '#6b875b',
    500: '#2f581c',
    950: '#000000',
  },
}
SCSS
$custom: #2f581c;
$custom-light: #6b875b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f581c",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 101,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41584,
    "c": 0.10055,
    "h": 137.2
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#2F581C
secondary
#76428E
accent
#4DDBAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F581C

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

Preview Lab → · Contrast checker → · Palette generator →

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