#2D5E15#2D5E15

#2D5E15 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.116 H 137.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2D5E15
RGBrgb(45, 94, 21)
HSLhsl(100, 63%, 23%)
HSVhsv(100, 78%, 37%)
CMYKcmyk(52.1%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.24, -30.79, 34.72)
CIE-LCHlch(35.24, 46.41, 131.56°)
OKLaboklab(43.14% -0.0853 0.0783)
OKLCHoklch(43.14% 0.116 137.4)
XYZxyz(5.2201, 8.6171, 2.0975)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E15 #46155E
analogous
#515E15 #2D5E15 #155E22
triadic
#2D5E15 #152D5E #5E152D
tetradic
#2D5E15 #15515E #46155E #5E2215
square
#2D5E15 #15515E #46155E #5E2215
split-complementary
#2D5E15 #22155E #5E1551
monochromatic
#0C1906 #152C0A #2D5E15 #459020 #5DC22B

Accessibility & contrast

On white

7.71
#2D5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E15
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E15#FFFFFF#000000##FFFFFF
##2D5E151.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#2A5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e15;
/* rgb */ color: rgb(45, 94, 21);
/* oklch */ color: oklch(43.1% 0.116 137.4);
Tailwind
colors: {
  custom: {
    50: '#6b8c58',
    500: '#2d5e15',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e15;
$custom-light: #6b8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e15",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 100.274,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43143,
    "c": 0.1158,
    "h": 137.4
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#2D5E15
secondary
#773995
accent
#41E7B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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