#2F5920#2F5920

#2F5920 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.098 H 138.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2F5920
RGBrgb(47, 89, 32)
HSLhsl(104, 47%, 24%)
HSVhsv(104, 64%, 35%)
CMYKcmyk(47.2%, 0%, 64%, 65.1%)
CIE-LABlab(33.68, -26.70, 27.92)
CIE-LCHlch(33.68, 38.63, 133.73°)
OKLaboklab(41.92% -0.0735 0.0654)
OKLCHoklch(41.92% 0.098 138.3)
XYZxyz(5.0052, 7.8531, 2.6183)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5920 #4A2059
analogous
#4B5920 #2F5920 #20592D
triadic
#2F5920 #202F59 #59202F
tetradic
#2F5920 #204B59 #4A2059 #592D20
square
#2F5920 #204B59 #4A2059 #592D20
split-complementary
#2F5920 #2D2059 #59204B
monochromatic
#0C1708 #172C10 #2F5920 #478630 #5FB340

Accessibility & contrast

On white

8.17
#2F5920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5920
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5920#FFFFFF#000000##FFFFFF
##2F59201.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C511A
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#2C564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5920;
/* rgb */ color: rgb(47, 89, 32);
/* oklch */ color: oklch(41.9% 0.098 138.3);
Tailwind
colors: {
  custom: {
    50: '#6b885e',
    500: '#2f5920',
    950: '#000000',
  },
}
SCSS
$custom: #2f5920;
$custom-light: #6b885e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5920",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 32
  },
  "hsl": {
    "h": 104.211,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.0984,
    "h": 138.3
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#2F5920
secondary
#7B478D
accent
#51D7B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F5920

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

Preview Lab → · Contrast checker → · Palette generator →

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