#2D641B#2D641B

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

Color values

HEX#2D641B
RGBrgb(45, 100, 27)
HSLhsl(105, 57%, 25%)
HSVhsv(105, 73%, 39%)
CMYKcmyk(55%, 0%, 73%, 60.8%)
CIE-LABlab(37.39, -32.87, 34.38)
CIE-LCHlch(37.39, 47.56, 133.71°)
OKLaboklab(44.93% -0.0905 0.0785)
OKLCHoklch(44.93% 0.12 139)
XYZxyz(5.8370, 9.7509, 2.6112)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D641B #521B64
analogous
#52641B #2D641B #1B642D
triadic
#2D641B #1B2D64 #641B2D
tetradic
#2D641B #1B5264 #521B64 #642D1B
square
#2D641B #1B5264 #521B64 #642D1B
split-complementary
#2D641B #2D1B64 #641B52
monochromatic
#0B1807 #17340E #2D641B #439428 #58C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D641B#FFFFFF#000000##FFFFFF
##2D641B1.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)
#675B10
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#286055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d641b;
/* rgb */ color: rgb(45, 100, 27);
/* oklch */ color: oklch(44.9% 0.120 139.0);
Tailwind
colors: {
  custom: {
    50: '#6c915c',
    500: '#2d641b',
    950: '#000000',
  },
}
SCSS
$custom: #2d641b;
$custom-light: #6c915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d641b",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 105.205,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44931,
    "c": 0.11979,
    "h": 139
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#2D641B
secondary
#844199
accent
#47E1BB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2D641B

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

Preview Lab → · Contrast checker → · Palette generator →

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