#2D5F23#2D5F23

#2D5F23 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.106 H 140.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2D5F23
RGBrgb(45, 95, 35)
HSLhsl(110, 46%, 25%)
HSVhsv(110, 63%, 37%)
CMYKcmyk(52.6%, 0%, 63.2%, 62.7%)
CIE-LABlab(35.72, -29.80, 28.69)
CIE-LCHlch(35.72, 41.36, 136.09°)
OKLaboklab(43.58% -0.0816 0.0674)
OKLCHoklch(43.58% 0.106 140.4)
XYZxyz(5.4775, 8.8633, 3.0119)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F23 #55235F
analogous
#4B5F23 #2D5F23 #235F37
triadic
#2D5F23 #232D5F #5F232D
tetradic
#2D5F23 #234B5F #55235F #5F3723
square
#2D5F23 #234B5F #55235F #5F3723
split-complementary
#2D5F23 #37235F #5F234B
monochromatic
#0B1608 #183213 #2D5F23 #428C33 #57B844

Accessibility & contrast

On white

7.57
#2D5F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D5F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F23
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F23#FFFFFF#000000##FFFFFF
##2D5F231.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62571D
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#285C52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f23;
/* rgb */ color: rgb(45, 95, 35);
/* oklch */ color: oklch(43.6% 0.106 140.4);
Tailwind
colors: {
  custom: {
    50: '#6b8d60',
    500: '#2d5f23',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f23;
$custom-light: #6b8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f23",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 110,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.10582,
    "h": 140.4
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#2D5F23
secondary
#874B93
accent
#52D6C0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D5F23

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

Preview Lab → · Contrast checker → · Palette generator →

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