#2B641B#2B641B

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

Color values

HEX#2B641B
RGBrgb(43, 100, 27)
HSLhsl(107, 57%, 25%)
HSVhsv(107, 73%, 39%)
CMYKcmyk(57%, 0%, 73%, 60.8%)
CIE-LABlab(37.31, -33.49, 34.27)
CIE-LCHlch(37.31, 47.92, 134.34°)
OKLaboklab(44.84% -0.092 0.0783)
OKLCHoklch(44.84% 0.121 139.6)
XYZxyz(5.7510, 9.7066, 2.6072)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B641B #541B64
analogous
#50641B #2B641B #1B642F
triadic
#2B641B #1B2B64 #641B2B
tetradic
#2B641B #1B5064 #541B64 #642F1B
square
#2B641B #1B5064 #541B64 #642F1B
split-complementary
#2B641B #2F1B64 #641B50
monochromatic
#0A1807 #16340E #2B641B #409428 #54C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b641b;
/* rgb */ color: rgb(43, 100, 27);
/* oklch */ color: oklch(44.8% 0.121 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b915c',
    500: '#2b641b',
    950: '#000000',
  },
}
SCSS
$custom: #2b641b;
$custom-light: #6b915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b641b",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 106.849,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.12082,
    "h": 139.6
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#2B641B
secondary
#864199
accent
#47E1BF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2B641B

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

Preview Lab → · Contrast checker → · Palette generator →

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