#2B4E2A#2B4E2A

#2B4E2A is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.072 H 143.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4E2A
RGBrgb(43, 78, 42)
HSLhsl(118, 30%, 24%)
HSVhsv(118, 46%, 31%)
CMYKcmyk(44.9%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.74, -21.24, 17.43)
CIE-LCHlch(29.74, 27.47, 140.63°)
OKLaboklab(38.7% -0.0579 0.0429)
OKLCHoklch(38.7% 0.072 143.5)
XYZxyz(4.1384, 6.1293, 3.1550)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E2A #4D2A4E
analogous
#3D4E2A #2B4E2A #2A4E3B
triadic
#2B4E2A #2A2B4E #4E2A2B
tetradic
#2B4E2A #2A3D4E #4D2A4E #4E3B2A
square
#2B4E2A #2A3D4E #4D2A4E #4E3B2A
split-complementary
#2B4E2A #3B2A4E #4E2A3D
monochromatic
#0B140B #152615 #2B4E2A #41763F #579E55

Accessibility & contrast

On white

9.43
#2B4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E2A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E2A#FFFFFF#000000##FFFFFF
##2B4E2A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4827
Deuteranopia (green-blind)
#4A452C
Tritanopia (blue-blind)
#274C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e2a;
/* rgb */ color: rgb(43, 78, 42);
/* oklch */ color: oklch(38.7% 0.072 143.5);
Tailwind
colors: {
  custom: {
    50: '#668064',
    500: '#2b4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e2a;
$custom-light: #668064;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e2a",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 118.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.07202,
    "h": 143.5
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#2B4E2A
secondary
#7F5480
accent
#62C6C3
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2B4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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