#2C5F19#2C5F19

#2C5F19 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.115 H 138.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2C5F19
RGBrgb(44, 95, 25)
HSLhsl(104, 58%, 24%)
HSVhsv(104, 74%, 37%)
CMYKcmyk(53.7%, 0%, 73.7%, 62.7%)
CIE-LABlab(35.58, -31.22, 33.35)
CIE-LCHlch(35.58, 45.68, 133.11°)
OKLaboklab(43.42% -0.0861 0.0761)
OKLCHoklch(43.42% 0.115 138.5)
XYZxyz(5.3062, 8.7897, 2.3365)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F19 #4C195F
analogous
#4F5F19 #2C5F19 #195F29
triadic
#2C5F19 #192C5F #5F192C
tetradic
#2C5F19 #194F5F #4C195F #5F2919
square
#2C5F19 #194F5F #4C195F #5F2919
split-complementary
#2C5F19 #29195F #5F194F
monochromatic
#0B1806 #162F0C #2C5F19 #428F26 #59C032

Accessibility & contrast

On white

7.61
#2C5F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5F19
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F19#FFFFFF#000000##FFFFFF
##2C5F191.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5f19;
/* rgb */ color: rgb(44, 95, 25);
/* oklch */ color: oklch(43.4% 0.115 138.5);
Tailwind
colors: {
  custom: {
    50: '#6b8d5a',
    500: '#2c5f19',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f19;
$custom-light: #6b8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f19",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 103.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43421,
    "c": 0.11486,
    "h": 138.5
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#2C5F19
secondary
#7E3F95
accent
#46E2B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5F19

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

Preview Lab → · Contrast checker → · Palette generator →

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