#2D5F19#2D5F19

#2D5F19 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.114 H 138.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2D5F19
RGBrgb(45, 95, 25)
HSLhsl(103, 58%, 24%)
HSVhsv(103, 74%, 37%)
CMYKcmyk(52.6%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.62, -30.88, 33.41)
CIE-LCHlch(35.62, 45.49, 132.75°)
OKLaboklab(43.47% -0.0852 0.0762)
OKLCHoklch(43.47% 0.114 138.2)
XYZxyz(5.3497, 8.8121, 2.3385)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F19 #4B195F
analogous
#505F19 #2D5F19 #195F28
triadic
#2D5F19 #192D5F #5F192D
tetradic
#2D5F19 #19505F #4B195F #5F2819
square
#2D5F19 #19505F #4B195F #5F2819
split-complementary
#2D5F19 #28195F #5F1950
monochromatic
#0B1806 #162F0C #2D5F19 #448F26 #5BC032

Accessibility & contrast

On white

7.60
#2D5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F19
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F19#FFFFFF#000000##FFFFFF
##2D5F191.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62560F
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f19;
/* rgb */ color: rgb(45, 95, 25);
/* oklch */ color: oklch(43.5% 0.114 138.2);
Tailwind
colors: {
  custom: {
    50: '#6b8d5a',
    500: '#2d5f19',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f19;
$custom-light: #6b8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f19",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 102.857,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.11433,
    "h": 138.2
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#2D5F19
secondary
#7C3F95
accent
#46E2B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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