#2F591B#2F591B

#2F591B is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.9% C 0.103 H 137.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2F591B
RGBrgb(47, 89, 27)
HSLhsl(101, 53%, 23%)
HSVhsv(101, 70%, 35%)
CMYKcmyk(47.2%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.62, -27.26, 30.37)
CIE-LCHlch(33.62, 40.81, 131.91°)
OKLaboklab(41.86% -0.0754 0.0701)
OKLCHoklch(41.86% 0.103 137.1)
XYZxyz(4.9424, 7.8279, 2.2872)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F591B #451B59
analogous
#4E591B #2F591B #1B5926
triadic
#2F591B #1B2F59 #591B2F
tetradic
#2F591B #1B4E59 #451B59 #59261B
square
#2F591B #1B4E59 #451B59 #59261B
split-complementary
#2F591B #261B59 #591B4E
monochromatic
#0C1707 #162A0D #2F591B #488829 #61B737

Accessibility & contrast

On white

8.19
#2F591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F591B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F591B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F591B#FFFFFF#000000##FFFFFF
##2F591B1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#564E20
Tritanopia (blue-blind)
#2D564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f591b;
/* rgb */ color: rgb(47, 89, 27);
/* oklch */ color: oklch(41.9% 0.103 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b885b',
    500: '#2f591b',
    950: '#000000',
  },
}
SCSS
$custom: #2f591b;
$custom-light: #6b885b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f591b",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 100.645,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.10292,
    "h": 137.1
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#2F591B
secondary
#76418F
accent
#4BDDAE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F591B

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

Preview Lab → · Contrast checker → · Palette generator →

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