#2D5E23#2D5E23

#2D5E23 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.104 H 140.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D5E23
RGBrgb(45, 94, 35)
HSLhsl(110, 46%, 25%)
HSVhsv(110, 63%, 37%)
CMYKcmyk(52.1%, 0%, 62.8%, 63.1%)
CIE-LABlab(35.37, -29.35, 28.28)
CIE-LCHlch(35.37, 40.76, 136.06°)
OKLaboklab(43.3% -0.0803 0.0665)
OKLCHoklch(43.3% 0.104 140.4)
XYZxyz(5.3880, 8.6843, 2.9821)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E23 #54235E
analogous
#4A5E23 #2D5E23 #235E37
triadic
#2D5E23 #232D5E #5E232D
tetradic
#2D5E23 #234A5E #54235E #5E3723
square
#2D5E23 #234A5E #54235E #5E3723
split-complementary
#2D5E23 #37235E #5E234A
monochromatic
#0B1608 #183112 #2D5E23 #428B34 #58B744

Accessibility & contrast

On white

7.67
#2D5E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D5E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E23
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E23#FFFFFF#000000##FFFFFF
##2D5E231.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#285B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e23;
/* rgb */ color: rgb(45, 94, 35);
/* oklch */ color: oklch(43.3% 0.104 140.4);
Tailwind
colors: {
  custom: {
    50: '#6b8c60',
    500: '#2d5e23',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e23;
$custom-light: #6b8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e23",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 35
  },
  "hsl": {
    "h": 109.831,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.10432,
    "h": 140.4
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#2D5E23
secondary
#864B92
accent
#52D5BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5E23

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

Preview Lab → · Contrast checker → · Palette generator →

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