#2C4E1F#2C4E1F

#2C4E1F is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.084 H 137.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2C4E1F
RGBrgb(44, 78, 31)
HSLhsl(103, 43%, 21%)
HSVhsv(103, 60%, 31%)
CMYKcmyk(43.6%, 0%, 60.3%, 69.4%)
CIE-LABlab(29.62, -22.57, 23.70)
CIE-LCHlch(29.62, 32.73, 133.61°)
OKLaboklab(38.56% -0.0621 0.0562)
OKLCHoklch(38.56% 0.084 137.8)
XYZxyz(4.0103, 6.0830, 2.2589)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E1F #411F4E
analogous
#444E1F #2C4E1F #1F4E2A
triadic
#2C4E1F #1F2C4E #4E1F2C
tetradic
#2C4E1F #1F444E #411F4E #4E2A1F
square
#2C4E1F #1F444E #411F4E #4E2A1F
split-complementary
#2C4E1F #2A1F4E #4E1F44
monochromatic
#0C1609 #13220E #2C4E1F #457A30 #5DA642

Accessibility & contrast

On white

9.47
#2C4E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2C4E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E1F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E1F#FFFFFF#000000##FFFFFF
##2C4E1F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481B
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#2A4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4e1f;
/* rgb */ color: rgb(44, 78, 31);
/* oklch */ color: oklch(38.6% 0.084 137.8);
Tailwind
colors: {
  custom: {
    50: '#68805c',
    500: '#2c4e1f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e1f;
$custom-light: #68805c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e1f",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 103.404,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3856,
    "c": 0.08378,
    "h": 137.8
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#2C4E1F
secondary
#724683
accent
#55D3B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2C4E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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