#2D5A19#2D5A19

#2D5A19 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.107 H 137.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2D5A19
RGBrgb(45, 90, 25)
HSLhsl(102, 57%, 23%)
HSVhsv(102, 72%, 35%)
CMYKcmyk(50%, 0%, 72.2%, 64.7%)
CIE-LABlab(33.86, -28.64, 31.54)
CIE-LCHlch(33.86, 42.61, 132.24°)
OKLaboklab(42.02% -0.0792 0.0723)
OKLCHoklch(42.02% 0.107 137.6)
XYZxyz(4.9137, 7.9401, 2.1932)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5A19 #46195A
analogous
#4E5A19 #2D5A19 #195A25
triadic
#2D5A19 #192D5A #5A192D
tetradic
#2D5A19 #194E5A #46195A #5A2519
square
#2D5A19 #194E5A #46195A #5A2519
split-complementary
#2D5A19 #25195A #5A194E
monochromatic
#0C1807 #152A0C #2D5A19 #458A26 #5DBA34

Accessibility & contrast

On white

8.11
#2D5A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D5A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5A19
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5A19#FFFFFF#000000##FFFFFF
##2D5A191.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#2A574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5a19;
/* rgb */ color: rgb(45, 90, 25);
/* oklch */ color: oklch(42.0% 0.107 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b8959',
    500: '#2d5a19',
    950: '#000000',
  },
}
SCSS
$custom: #2d5a19;
$custom-light: #6b8959;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5a19",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 101.538,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.10719,
    "h": 137.6
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#2D5A19
secondary
#773E90
accent
#48E0B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D5A19

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

Preview Lab → · Contrast checker → · Palette generator →

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