#2C5B19#2C5B19

#2C5B19 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.3% C 0.109 H 138.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2C5B19
RGBrgb(44, 91, 25)
HSLhsl(103, 57%, 23%)
HSVhsv(103, 73%, 36%)
CMYKcmyk(51.6%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.16, -29.44, 31.86)
CIE-LCHlch(34.16, 43.38, 132.74°)
OKLaboklab(42.26% -0.0813 0.0729)
OKLCHoklch(42.26% 0.109 138.1)
XYZxyz(4.9551, 8.0875, 2.2195)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B19 #48195B
analogous
#4D5B19 #2C5B19 #195B27
triadic
#2C5B19 #192C5B #5B192C
tetradic
#2C5B19 #194D5B #48195B #5B2719
square
#2C5B19 #194D5B #48195B #5B2719
split-complementary
#2C5B19 #27195B #5B194D
monochromatic
#0C1807 #152B0C #2C5B19 #438B26 #5ABB33

Accessibility & contrast

On white

8.02
#2C5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B19
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B19#FFFFFF#000000##FFFFFF
##2C5B191.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b19;
/* rgb */ color: rgb(44, 91, 25);
/* oklch */ color: oklch(42.3% 0.109 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8a5a',
    500: '#2c5b19',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b19;
$custom-light: #6a8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b19",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 102.727,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.10919,
    "h": 138.1
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#2C5B19
secondary
#793F91
accent
#48E0B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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