#2D5E18#2D5E18

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

Color values

HEX#2D5E18
RGBrgb(45, 94, 24)
HSLhsl(102, 59%, 23%)
HSVhsv(102, 74%, 37%)
CMYKcmyk(52.1%, 0%, 74.5%, 63.1%)
CIE-LABlab(35.26, -30.53, 33.47)
CIE-LCHlch(35.26, 45.31, 132.37°)
OKLaboklab(43.17% -0.0844 0.0762)
OKLCHoklch(43.17% 0.114 137.9)
XYZxyz(5.2496, 8.6289, 2.2529)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E18 #49185E
analogous
#505E18 #2D5E18 #185E26
triadic
#2D5E18 #182D5E #5E182D
tetradic
#2D5E18 #18505E #49185E #5E2618
square
#2D5E18 #18505E #49185E #5E2618
split-complementary
#2D5E18 #26185E #5E1850
monochromatic
#0C1806 #162D0C #2D5E18 #448F24 #5CC031

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5E18#FFFFFF#000000##FFFFFF
##2D5E181.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)
#61550D
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e18;
/* rgb */ color: rgb(45, 94, 24);
/* oklch */ color: oklch(43.2% 0.114 137.9);
Tailwind
colors: {
  custom: {
    50: '#6b8c59',
    500: '#2d5e18',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e18;
$custom-light: #6b8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e18",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 102,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4317,
    "c": 0.11367,
    "h": 137.9
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#2D5E18
secondary
#7A3D94
accent
#45E3B3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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