#2B4E1A#2B4E1A

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

Color values

HEX#2B4E1A
RGBrgb(43, 78, 26)
HSLhsl(100, 50%, 20%)
HSVhsv(100, 67%, 31%)
CMYKcmyk(44.9%, 0%, 66.7%, 69.4%)
CIE-LABlab(29.50, -23.58, 26.25)
CIE-LCHlch(29.50, 35.29, 131.93°)
OKLaboklab(38.43% -0.0652 0.0612)
OKLCHoklch(38.43% 0.089 136.8)
XYZxyz(3.9070, 6.0367, 1.9364)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E1A #3D1A4E
analogous
#454E1A #2B4E1A #1A4E23
triadic
#2B4E1A #1A2B4E #4E1A2B
tetradic
#2B4E1A #1A454E #3D1A4E #4E231A
square
#2B4E1A #1A454E #3D1A4E #4E231A
split-complementary
#2B4E1A #231A4E #4E1A45
monochromatic
#0D1708 #12200B #2B4E1A #447C29 #5EAA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4E1A#FFFFFF#000000##FFFFFF
##2B4E1A1.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)
#514714
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#294B43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4e1a;
/* rgb */ color: rgb(43, 78, 26);
/* oklch */ color: oklch(38.4% 0.089 136.8);
Tailwind
colors: {
  custom: {
    50: '#678059',
    500: '#2b4e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e1a;
$custom-light: #678059;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e1a",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 26
  },
  "hsl": {
    "h": 100.385,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.08942,
    "h": 136.8
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#2B4E1A
secondary
#6E4084
accent
#4EDAAC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B4E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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