#2D641F#2D641F

#2D641F is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.117 H 139.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2D641F
RGBrgb(45, 100, 31)
HSLhsl(108, 53%, 26%)
HSVhsv(108, 69%, 39%)
CMYKcmyk(55%, 0%, 69%, 60.8%)
CIE-LABlab(37.43, -32.47, 32.58)
CIE-LCHlch(37.43, 46.00, 134.90°)
OKLaboklab(44.97% -0.0891 0.0753)
OKLCHoklch(44.97% 0.117 139.8)
XYZxyz(5.8864, 9.7707, 2.8718)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D641F #561F64
analogous
#4F641F #2D641F #1F6433
triadic
#2D641F #1F2D64 #641F2D
tetradic
#2D641F #1F4F64 #561F64 #64331F
square
#2D641F #1F4F64 #561F64 #64331F
split-complementary
#2D641F #331F64 #641F4F
monochromatic
#0B1707 #183511 #2D641F #42932D #57C13C

Accessibility & contrast

On white

7.11
#2D641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2D641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D641F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D641F#FFFFFF#000000##FFFFFF
##2D641F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d641f;
/* rgb */ color: rgb(45, 100, 31);
/* oklch */ color: oklch(45.0% 0.117 139.8);
Tailwind
colors: {
  custom: {
    50: '#6c915e',
    500: '#2d641f',
    950: '#000000',
  },
}
SCSS
$custom: #2d641f;
$custom-light: #6c915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d641f",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 107.826,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44973,
    "c": 0.11663,
    "h": 139.8
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#2D641F
secondary
#884698
accent
#4CDCBF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2D641F

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

Preview Lab → · Contrast checker → · Palette generator →

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