#2E641B#2E641B

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

Color values

HEX#2E641B
RGBrgb(46, 100, 27)
HSLhsl(104, 57%, 25%)
HSVhsv(104, 73%, 39%)
CMYKcmyk(54%, 0%, 73%, 60.8%)
CIE-LABlab(37.43, -32.55, 34.44)
CIE-LCHlch(37.43, 47.39, 133.39°)
OKLaboklab(44.98% -0.0897 0.0786)
OKLCHoklch(44.98% 0.119 138.8)
XYZxyz(5.8815, 9.7739, 2.6133)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E641B #511B64
analogous
#52641B #2E641B #1B642D
triadic
#2E641B #1B2E64 #641B2E
tetradic
#2E641B #1B5264 #511B64 #642D1B
square
#2E641B #1B5264 #511B64 #642D1B
split-complementary
#2E641B #2D1B64 #641B52
monochromatic
#0B1807 #18340E #2E641B #449428 #5AC435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2e641b;
/* rgb */ color: rgb(46, 100, 27);
/* oklch */ color: oklch(45.0% 0.119 138.8);
Tailwind
colors: {
  custom: {
    50: '#6d915c',
    500: '#2e641b',
    950: '#000000',
  },
}
SCSS
$custom: #2e641b;
$custom-light: #6d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e641b",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 104.384,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.11926,
    "h": 138.8
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#2E641B
secondary
#834199
accent
#47E1B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2E641B

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

Preview Lab → · Contrast checker → · Palette generator →

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