#2D5B19#2D5B19

#2D5B19 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.109 H 137.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2D5B19
RGBrgb(45, 91, 25)
HSLhsl(102, 57%, 23%)
HSVhsv(102, 73%, 36%)
CMYKcmyk(50.5%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.21, -29.10, 31.92)
CIE-LCHlch(34.21, 43.19, 132.35°)
OKLaboklab(42.31% -0.0804 0.0731)
OKLCHoklch(42.31% 0.109 137.7)
XYZxyz(4.9986, 8.1099, 2.2215)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B19 #47195B
analogous
#4E5B19 #2D5B19 #195B26
triadic
#2D5B19 #192D5B #5B192D
tetradic
#2D5B19 #194E5B #47195B #5B2619
square
#2D5B19 #194E5B #47195B #5B2619
split-complementary
#2D5B19 #26195B #5B194E
monochromatic
#0C1807 #152B0C #2D5B19 #458B26 #5CBB33

Accessibility & contrast

On white

8.01
#2D5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B19
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B19#FFFFFF#000000##FFFFFF
##2D5B191.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#2A584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b19;
/* rgb */ color: rgb(45, 91, 25);
/* oklch */ color: oklch(42.3% 0.109 137.7);
Tailwind
colors: {
  custom: {
    50: '#6b8a5a',
    500: '#2d5b19',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b19;
$custom-light: #6b8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b19",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 101.818,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.10863,
    "h": 137.7
  },
  "luminance": 0.0811
}

Semantic roles & 50–950 ramp

primary
#2D5B19
secondary
#783F91
accent
#48E0B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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