#2D5D16#2D5D16

#2D5D16 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.9% C 0.114 H 137.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D5D16
RGBrgb(45, 93, 22)
HSLhsl(101, 62%, 23%)
HSVhsv(101, 76%, 36%)
CMYKcmyk(51.6%, 0%, 76.3%, 63.5%)
CIE-LABlab(34.89, -30.26, 33.96)
CIE-LCHlch(34.89, 45.49, 131.71°)
OKLaboklab(42.86% -0.0838 0.0769)
OKLCHoklch(42.86% 0.114 137.5)
XYZxyz(5.1412, 8.4442, 2.1179)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D16 #46165D
analogous
#515D16 #2D5D16 #165D22
triadic
#2D5D16 #162D5D #5D162D
tetradic
#2D5D16 #16515D #46165D #5D2216
square
#2D5D16 #16515D #46165D #5D2216
split-complementary
#2D5D16 #22165D #5D1651
monochromatic
#0C1906 #152C0A #2D5D16 #458E22 #5DC02D

Accessibility & contrast

On white

7.81
#2D5D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D16
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D16#FFFFFF#000000##FFFFFF
##2D5D161.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d16;
/* rgb */ color: rgb(45, 93, 22);
/* oklch */ color: oklch(42.9% 0.114 137.5);
Tailwind
colors: {
  custom: {
    50: '#6b8b58',
    500: '#2d5d16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d16;
$custom-light: #6b8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d16",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 100.563,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.11372,
    "h": 137.5
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#2D5D16
secondary
#773B94
accent
#43E5B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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