#2D5919#2D5919

#2D5919 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.7% C 0.106 H 137.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2D5919
RGBrgb(45, 89, 25)
HSLhsl(101, 56%, 22%)
HSVhsv(101, 72%, 35%)
CMYKcmyk(49.4%, 0%, 71.9%, 65.1%)
CIE-LABlab(33.50, -28.18, 31.17)
CIE-LCHlch(33.50, 42.02, 132.12°)
OKLaboklab(41.73% -0.0779 0.0715)
OKLCHoklch(41.73% 0.106 137.5)
XYZxyz(4.8299, 7.7725, 2.1653)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5919 #451959
analogous
#4D5919 #2D5919 #195925
triadic
#2D5919 #192D59 #59192D
tetradic
#2D5919 #194D59 #451959 #592519
square
#2D5919 #194D59 #451959 #592519
split-complementary
#2D5919 #251959 #59194D
monochromatic
#0C1807 #15290C #2D5919 #458926 #5DB934

Accessibility & contrast

On white

8.22
#2D5919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5919
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5919#FFFFFF#000000##FFFFFF
##2D59191.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5919;
/* rgb */ color: rgb(45, 89, 25);
/* oklch */ color: oklch(41.7% 0.106 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a8859',
    500: '#2d5919',
    950: '#000000',
  },
}
SCSS
$custom: #2d5919;
$custom-light: #6a8859;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5919",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 101.25,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.10574,
    "h": 137.5
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#2D5919
secondary
#763E8F
accent
#48DFB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D5919

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

Preview Lab → · Contrast checker → · Palette generator →

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