#2B641F#2B641F

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

Color values

HEX#2B641F
RGBrgb(43, 100, 31)
HSLhsl(110, 53%, 26%)
HSVhsv(110, 69%, 39%)
CMYKcmyk(57%, 0%, 69%, 60.8%)
CIE-LABlab(37.35, -33.09, 32.47)
CIE-LCHlch(37.35, 46.36, 135.54°)
OKLaboklab(44.88% -0.0906 0.0751)
OKLCHoklch(44.88% 0.118 140.4)
XYZxyz(5.8005, 9.7264, 2.8678)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B641F #581F64
analogous
#4D641F #2B641F #1F6435
triadic
#2B641F #1F2B64 #641F2B
tetradic
#2B641F #1F4D64 #581F64 #64351F
square
#2B641F #1F4D64 #581F64 #64351F
split-complementary
#2B641F #351F64 #641F4D
monochromatic
#0A1707 #173511 #2B641F #3F932D #53C13C

Accessibility & contrast

On white

7.13
#2B641F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B641F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B641F#FFFFFF#000000##FFFFFF
##2B641F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b641f;
/* rgb */ color: rgb(43, 100, 31);
/* oklch */ color: oklch(44.9% 0.118 140.4);
Tailwind
colors: {
  custom: {
    50: '#6b915e',
    500: '#2b641f',
    950: '#000000',
  },
}
SCSS
$custom: #2b641f;
$custom-light: #6b915e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b641f",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 109.565,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.11768,
    "h": 140.4
  },
  "luminance": 0.09727
}

Semantic roles & 50–950 ramp

primary
#2B641F
secondary
#8A4698
accent
#4CDCC3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2B641F

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

Preview Lab → · Contrast checker → · Palette generator →

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