#2D5D19#2D5D19

#2D5D19 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.111 H 138.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2D5D19
RGBrgb(45, 93, 25)
HSLhsl(102, 58%, 23%)
HSVhsv(102, 73%, 36%)
CMYKcmyk(51.6%, 0%, 73.1%, 63.5%)
CIE-LABlab(34.92, -30.00, 32.67)
CIE-LCHlch(34.92, 44.35, 132.56°)
OKLaboklab(42.89% -0.0828 0.0746)
OKLCHoklch(42.89% 0.111 138)
XYZxyz(5.1718, 8.4564, 2.2792)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D19 #49195D
analogous
#4F5D19 #2D5D19 #195D27
triadic
#2D5D19 #192D5D #5D192D
tetradic
#2D5D19 #194F5D #49195D #5D2719
square
#2D5D19 #194F5D #49195D #5D2719
split-complementary
#2D5D19 #27195D #5D194F
monochromatic
#0C1806 #162D0C #2D5D19 #448D26 #5CBD33

Accessibility & contrast

On white

7.80
#2D5D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5D19
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D19#FFFFFF#000000##FFFFFF
##2D5D191.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#2A5A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d19;
/* rgb */ color: rgb(45, 93, 25);
/* oklch */ color: oklch(42.9% 0.111 138.0);
Tailwind
colors: {
  custom: {
    50: '#6b8b5a',
    500: '#2d5d19',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d19;
$custom-light: #6b8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d19",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 102.353,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.11149,
    "h": 138
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#2D5D19
secondary
#7A3F93
accent
#47E1B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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