#2D641C#2D641C

#2D641C is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.119 H 139.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2D641C
RGBrgb(45, 100, 28)
HSLhsl(106, 56%, 25%)
HSVhsv(106, 72%, 39%)
CMYKcmyk(55%, 0%, 72%, 60.8%)
CIE-LABlab(37.40, -32.77, 33.94)
CIE-LCHlch(37.40, 47.18, 134.00°)
OKLaboklab(44.94% -0.0901 0.0777)
OKLCHoklch(44.94% 0.119 139.2)
XYZxyz(5.8487, 9.7556, 2.6732)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D641C #531C64
analogous
#51641C #2D641C #1C642F
triadic
#2D641C #1C2D64 #641C2D
tetradic
#2D641C #1C5164 #531C64 #642F1C
square
#2D641C #1C5164 #531C64 #642F1C
split-complementary
#2D641C #2F1C64 #641C51
monochromatic
#0B1807 #17340F #2D641C #439429 #58C437

Accessibility & contrast

On white

7.12
#2D641C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D641C
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D641C#FFFFFF#000000##FFFFFF
##2D641C1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B12
Deuteranopia (green-blind)
#605623
Tritanopia (blue-blind)
#286155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d641c;
/* rgb */ color: rgb(45, 100, 28);
/* oklch */ color: oklch(44.9% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#6c915c',
    500: '#2d641c',
    950: '#000000',
  },
}
SCSS
$custom: #2d641c;
$custom-light: #6c915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d641c",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 105.833,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.11903,
    "h": 139.2
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#2D641C
secondary
#854399
accent
#48E0BC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2D641C

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

Preview Lab → · Contrast checker → · Palette generator →

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