#2D5C18#2D5C18

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

Color values

HEX#2D5C18
RGBrgb(45, 92, 24)
HSLhsl(101, 59%, 23%)
HSVhsv(101, 74%, 36%)
CMYKcmyk(51.1%, 0%, 73.9%, 63.9%)
CIE-LABlab(34.55, -29.64, 32.74)
CIE-LCHlch(34.55, 44.16, 132.16°)
OKLaboklab(42.59% -0.0819 0.0746)
OKLCHoklch(42.59% 0.111 137.7)
XYZxyz(5.0740, 8.2778, 2.1944)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C18 #47185C
analogous
#4F5C18 #2D5C18 #185C25
triadic
#2D5C18 #182D5C #5C182D
tetradic
#2D5C18 #184F5C #47185C #5C2518
square
#2D5C18 #184F5C #47185C #5C2518
split-complementary
#2D5C18 #25185C #5C184F
monochromatic
#0C1806 #152B0B #2D5C18 #458D25 #5CBD31

Accessibility & contrast

On white

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

On black

2.66
#2D5C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D5C18#FFFFFF#000000##FFFFFF
##2D5C181.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5c18;
/* rgb */ color: rgb(45, 92, 24);
/* oklch */ color: oklch(42.6% 0.111 137.7);
Tailwind
colors: {
  custom: {
    50: '#6b8a59',
    500: '#2d5c18',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c18;
$custom-light: #6b8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c18",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 101.471,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.11085,
    "h": 137.7
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#2D5C18
secondary
#783D93
accent
#46E2B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5C18

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

Preview Lab → · Contrast checker → · Palette generator →

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