#2F581E#2F581E

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

Color values

HEX#2F581E
RGBrgb(47, 88, 30)
HSLhsl(102, 49%, 23%)
HSVhsv(102, 66%, 35%)
CMYKcmyk(46.6%, 0%, 65.9%, 65.5%)
CIE-LABlab(33.30, -26.46, 28.52)
CIE-LCHlch(33.30, 38.91, 132.85°)
OKLaboklab(41.61% -0.073 0.0665)
OKLCHoklch(41.61% 0.099 137.7)
XYZxyz(4.8962, 7.6772, 2.4519)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F581E #471E58
analogous
#4C581E #2F581E #1E582A
triadic
#2F581E #1E2F58 #581E2F
tetradic
#2F581E #1E4C58 #471E58 #582A1E
square
#2F581E #1E4C58 #471E58 #582A1E
split-complementary
#2F581E #2A1E58 #581E4C
monochromatic
#0C1708 #172A0E #2F581E #47862E #60B33D

Accessibility & contrast

On white

8.28
#2F581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2F581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F581E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F581E#FFFFFF#000000##FFFFFF
##2F581E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f581e;
/* rgb */ color: rgb(47, 88, 30);
/* oklch */ color: oklch(41.6% 0.099 137.7);
Tailwind
colors: {
  custom: {
    50: '#6b875c',
    500: '#2f581e',
    950: '#000000',
  },
}
SCSS
$custom: #2f581e;
$custom-light: #6b875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f581e",
  "rgb": {
    "r": 47,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 102.414,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41608,
    "c": 0.09874,
    "h": 137.7
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#2F581E
secondary
#78458D
accent
#4FD9B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F581E

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

Preview Lab → · Contrast checker → · Palette generator →

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