#2D5E16#2D5E16

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

Color values

HEX#2D5E16
RGBrgb(45, 94, 22)
HSLhsl(101, 62%, 23%)
HSVhsv(101, 77%, 37%)
CMYKcmyk(52.1%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.24, -30.71, 34.32)
CIE-LCHlch(35.24, 46.05, 131.82°)
OKLaboklab(43.15% -0.085 0.0776)
OKLCHoklch(43.15% 0.115 137.6)
XYZxyz(5.2295, 8.6209, 2.1473)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E16 #47165E
analogous
#515E16 #2D5E16 #165E23
triadic
#2D5E16 #162D5E #5E162D
tetradic
#2D5E16 #16515E #47165E #5E2316
square
#2D5E16 #16515E #47165E #5E2316
split-complementary
#2D5E16 #23165E #5E1651
monochromatic
#0C1906 #152C0A #2D5E16 #459022 #5CC12D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5E16#FFFFFF#000000##FFFFFF
##2D5E161.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)
#61550A
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#2A5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e16;
/* rgb */ color: rgb(45, 94, 22);
/* oklch */ color: oklch(43.2% 0.115 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b8c58',
    500: '#2d5e16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e16;
$custom-light: #6b8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e16",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 100.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.11511,
    "h": 137.6
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#2D5E16
secondary
#783B95
accent
#43E5B1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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