#2A641F#2A641F

#2A641F is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.118 H 140.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2A641F
RGBrgb(42, 100, 31)
HSLhsl(110, 53%, 26%)
HSVhsv(110, 69%, 39%)
CMYKcmyk(58%, 0%, 69%, 60.8%)
CIE-LABlab(37.31, -33.39, 32.42)
CIE-LCHlch(37.31, 46.54, 135.85°)
OKLaboklab(44.84% -0.0914 0.0749)
OKLCHoklch(44.84% 0.118 140.6)
XYZxyz(5.7591, 9.7050, 2.8658)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A641F #591F64
analogous
#4C641F #2A641F #1F6436
triadic
#2A641F #1F2A64 #641F2A
tetradic
#2A641F #1F4C64 #591F64 #64361F
square
#2A641F #1F4C64 #591F64 #64361F
split-complementary
#2A641F #361F64 #641F4C
monochromatic
#0A1707 #163511 #2A641F #3E932D #51C13C

Accessibility & contrast

On white

7.14
#2A641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2A641F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A641F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A641F#FFFFFF#000000##FFFFFF
##2A641F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B16
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#236156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a641f;
/* rgb */ color: rgb(42, 100, 31);
/* oklch */ color: oklch(44.8% 0.118 140.6);
Tailwind
colors: {
  custom: {
    50: '#6a915e',
    500: '#2a641f',
    950: '#000000',
  },
}
SCSS
$custom: #2a641f;
$custom-light: #6a915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a641f",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 110.435,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.11819,
    "h": 140.6
  },
  "luminance": 0.09706
}

Semantic roles & 50–950 ramp

primary
#2A641F
secondary
#8B4698
accent
#4CDCC5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2A641F

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

Preview Lab → · Contrast checker → · Palette generator →

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