#2E5E1C#2E5E1C

#2E5E1C is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.110 H 138.3°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2E5E1C
RGBrgb(46, 94, 28)
HSLhsl(104, 54%, 24%)
HSVhsv(104, 70%, 37%)
CMYKcmyk(51.1%, 0%, 70.2%, 63.1%)
CIE-LABlab(35.34, -29.81, 31.75)
CIE-LCHlch(35.34, 43.55, 133.20°)
OKLaboklab(43.26% -0.0822 0.0731)
OKLCHoklch(43.26% 0.11 138.3)
XYZxyz(5.3388, 8.6697, 2.4905)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E1C #4C1C5E
analogous
#4F5E1C #2E5E1C #1C5E2B
triadic
#2E5E1C #1C2E5E #5E1C2E
tetradic
#2E5E1C #1C4F5E #4C1C5E #5E2B1C
square
#2E5E1C #1C4F5E #4C1C5E #5E2B1C
split-complementary
#2E5E1C #2B1C5E #5E1C4F
monochromatic
#0C1807 #172F0E #2E5E1C #458D2A #5CBC38

Accessibility & contrast

On white

7.68
#2E5E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E5E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E1C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E1C#FFFFFF#000000##FFFFFF
##2E5E1C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615613
Deuteranopia (green-blind)
#5B5222
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e1c;
/* rgb */ color: rgb(46, 94, 28);
/* oklch */ color: oklch(43.3% 0.110 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c8c5c',
    500: '#2e5e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e1c;
$custom-light: #6c8c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e1c",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 28
  },
  "hsl": {
    "h": 103.636,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.10997,
    "h": 138.3
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#2E5E1C
secondary
#7D4293
accent
#4ADDB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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