#2D5C16#2D5C16

#2D5C16 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.112 H 137.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2D5C16
RGBrgb(45, 92, 22)
HSLhsl(100, 61%, 22%)
HSVhsv(100, 76%, 36%)
CMYKcmyk(51.1%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.54, -29.82, 33.60)
CIE-LCHlch(34.54, 44.92, 131.59°)
OKLaboklab(42.57% -0.0826 0.0761)
OKLCHoklch(42.57% 0.112 137.3)
XYZxyz(5.0540, 8.2698, 2.0888)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C16 #45165C
analogous
#505C16 #2D5C16 #165C22
triadic
#2D5C16 #162D5C #5C162D
tetradic
#2D5C16 #16505C #45165C #5C2216
square
#2D5C16 #16505C #45165C #5C2216
split-complementary
#2D5C16 #22165C #5C1650
monochromatic
#0C1906 #152B0A #2D5C16 #458D22 #5DBF2E

Accessibility & contrast

On white

7.91
#2D5C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C16
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C16#FFFFFF#000000##FFFFFF
##2D5C161.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540B
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#2A594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c16;
/* rgb */ color: rgb(45, 92, 22);
/* oklch */ color: oklch(42.6% 0.112 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8a58',
    500: '#2d5c16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c16;
$custom-light: #6b8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c16",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 100.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.11232,
    "h": 137.3
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#2D5C16
secondary
#763B93
accent
#43E5B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C16

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

Preview Lab → · Contrast checker → · Palette generator →

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