#2B4E1B#2B4E1B

#2B4E1B is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.088 H 137.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2B4E1B
RGBrgb(43, 78, 27)
HSLhsl(101, 49%, 21%)
HSVhsv(101, 65%, 31%)
CMYKcmyk(44.9%, 0%, 65.4%, 69.4%)
CIE-LABlab(29.52, -23.46, 25.74)
CIE-LCHlch(29.52, 34.83, 132.35°)
OKLaboklab(38.44% -0.0648 0.0602)
OKLCHoklch(38.44% 0.088 137.1)
XYZxyz(3.9184, 6.0413, 1.9963)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E1B #3E1B4E
analogous
#444E1B #2B4E1B #1B4E24
triadic
#2B4E1B #1B2B4E #4E1B2B
tetradic
#2B4E1B #1B444E #3E1B4E #4E241B
square
#2B4E1B #1B444E #3E1B4E #4E241B
split-complementary
#2B4E1B #241B4E #4E1B44
monochromatic
#0D1708 #12210B #2B4E1B #447B2B #5DA93A

Accessibility & contrast

On white

9.51
#2B4E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B4E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E1B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E1B#FFFFFF#000000##FFFFFF
##2B4E1B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514716
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#294B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e1b;
/* rgb */ color: rgb(43, 78, 27);
/* oklch */ color: oklch(38.4% 0.088 137.1);
Tailwind
colors: {
  custom: {
    50: '#678059',
    500: '#2b4e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e1b;
$custom-light: #678059;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e1b",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 101.176,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.08846,
    "h": 137.1
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#2B4E1B
secondary
#6F4184
accent
#50D8AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B4E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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