#2C5D19#2C5D19

#2C5D19 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.112 H 138.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2C5D19
RGBrgb(44, 93, 25)
HSLhsl(103, 58%, 23%)
HSVhsv(103, 73%, 36%)
CMYKcmyk(52.7%, 0%, 73.1%, 63.5%)
CIE-LABlab(34.87, -30.33, 32.61)
CIE-LCHlch(34.87, 44.53, 132.93°)
OKLaboklab(42.84% -0.0837 0.0745)
OKLCHoklch(42.84% 0.112 138.3)
XYZxyz(5.1283, 8.4340, 2.2772)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D19 #4A195D
analogous
#4E5D19 #2C5D19 #195D28
triadic
#2C5D19 #192C5D #5D192C
tetradic
#2C5D19 #194E5D #4A195D #5D2819
square
#2C5D19 #194E5D #4A195D #5D2819
split-complementary
#2C5D19 #28195D #5D194E
monochromatic
#0B1806 #152D0C #2C5D19 #438D26 #5ABD33

Accessibility & contrast

On white

7.82
#2C5D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C5D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D19
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D19#FFFFFF#000000##FFFFFF
##2C5D191.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#5A501F
Tritanopia (blue-blind)
#285A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d19;
/* rgb */ color: rgb(44, 93, 25);
/* oklch */ color: oklch(42.8% 0.112 138.3);
Tailwind
colors: {
  custom: {
    50: '#6a8b5a',
    500: '#2c5d19',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d19;
$custom-light: #6a8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d19",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 103.235,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.11205,
    "h": 138.3
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#2C5D19
secondary
#7C3F93
accent
#47E1B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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