#2B4E1C#2B4E1C

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

Color values

HEX#2B4E1C
RGBrgb(43, 78, 28)
HSLhsl(102, 47%, 21%)
HSVhsv(102, 64%, 31%)
CMYKcmyk(44.9%, 0%, 64.1%, 69.4%)
CIE-LABlab(29.53, -23.34, 25.22)
CIE-LCHlch(29.53, 34.36, 132.79°)
OKLaboklab(38.46% -0.0644 0.0592)
OKLCHoklch(38.46% 0.087 137.4)
XYZxyz(3.9301, 6.0460, 2.0583)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E1C #3F1C4E
analogous
#444E1C #2B4E1C #1C4E26
triadic
#2B4E1C #1C2B4E #4E1C2B
tetradic
#2B4E1C #1C444E #3F1C4E #4E261C
square
#2B4E1C #1C444E #3F1C4E #4E261C
split-complementary
#2B4E1C #261C4E #4E1C44
monochromatic
#0C1708 #12210C #2B4E1C #447B2C #5DA83C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B4E1C#FFFFFF#000000##FFFFFF
##2B4E1C1.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)
#514717
Deuteranopia (green-blind)
#4C4420
Tritanopia (blue-blind)
#294B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e1c;
/* rgb */ color: rgb(43, 78, 28);
/* oklch */ color: oklch(38.5% 0.087 137.4);
Tailwind
colors: {
  custom: {
    50: '#67805a',
    500: '#2b4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e1c;
$custom-light: #67805a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e1c",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 102,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.08747,
    "h": 137.4
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#2B4E1C
secondary
#704284
accent
#51D7AF
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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