#2D5E19#2D5E19

#2D5E19 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.113 H 138.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2D5E19
RGBrgb(45, 94, 25)
HSLhsl(103, 58%, 23%)
HSVhsv(103, 73%, 37%)
CMYKcmyk(52.1%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.27, -30.44, 33.04)
CIE-LCHlch(35.27, 44.92, 132.66°)
OKLaboklab(43.18% -0.084 0.0754)
OKLCHoklch(43.18% 0.113 138.1)
XYZxyz(5.2602, 8.6331, 2.3087)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E19 #4A195E
analogous
#4F5E19 #2D5E19 #195E27
triadic
#2D5E19 #192D5E #5E192D
tetradic
#2D5E19 #194F5E #4A195E #5E2719
square
#2D5E19 #194F5E #4A195E #5E2719
split-complementary
#2D5E19 #27195E #5E194F
monochromatic
#0C1806 #162E0C #2D5E19 #448E26 #5BBF33

Accessibility & contrast

On white

7.70
#2D5E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D5E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E19
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E19#FFFFFF#000000##FFFFFF
##2D5E191.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560F
Deuteranopia (green-blind)
#5B511F
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e19;
/* rgb */ color: rgb(45, 94, 25);
/* oklch */ color: oklch(43.2% 0.113 138.1);
Tailwind
colors: {
  custom: {
    50: '#6b8c5a',
    500: '#2d5e19',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e19;
$custom-light: #6b8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e19",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 102.609,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.11291,
    "h": 138.1
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#2D5E19
secondary
#7B3F94
accent
#47E1B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5E19

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

Preview Lab → · Contrast checker → · Palette generator →

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