#2D5E1A#2D5E1A

#2D5E1A is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.112 H 138.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2D5E1A
RGBrgb(45, 94, 26)
HSLhsl(103, 57%, 24%)
HSVhsv(103, 72%, 37%)
CMYKcmyk(52.1%, 0%, 72.3%, 63.1%)
CIE-LABlab(35.28, -30.35, 32.59)
CIE-LCHlch(35.28, 44.53, 132.95°)
OKLaboklab(43.19% -0.0837 0.0746)
OKLCHoklch(43.19% 0.112 138.3)
XYZxyz(5.2712, 8.6375, 2.3665)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E1A #4B1A5E
analogous
#4F5E1A #2D5E1A #1A5E29
triadic
#2D5E1A #1A2D5E #5E1A2D
tetradic
#2D5E1A #1A4F5E #4B1A5E #5E291A
square
#2D5E1A #1A4F5E #4B1A5E #5E291A
split-complementary
#2D5E1A #291A5E #5E1A4F
monochromatic
#0B1807 #162E0D #2D5E1A #448E27 #5BBE35

Accessibility & contrast

On white

7.70
#2D5E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5E1A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E1A#FFFFFF#000000##FFFFFF
##2D5E1A1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615610
Deuteranopia (green-blind)
#5B5120
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e1a;
/* rgb */ color: rgb(45, 94, 26);
/* oklch */ color: oklch(43.2% 0.112 138.3);
Tailwind
colors: {
  custom: {
    50: '#6b8c5a',
    500: '#2d5e1a',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e1a;
$custom-light: #6b8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e1a",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 103.235,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43189,
    "c": 0.11214,
    "h": 138.3
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#2D5E1A
secondary
#7C4094
accent
#48E0B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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