#2C5C19#2C5C19

#2C5C19 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.111 H 138.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2C5C19
RGBrgb(44, 92, 25)
HSLhsl(103, 57%, 23%)
HSVhsv(103, 73%, 36%)
CMYKcmyk(52.2%, 0%, 72.8%, 63.9%)
CIE-LABlab(34.52, -29.89, 32.23)
CIE-LCHlch(34.52, 43.96, 132.84°)
OKLaboklab(42.55% -0.0825 0.0737)
OKLCHoklch(42.55% 0.111 138.2)
XYZxyz(5.0411, 8.2596, 2.2481)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C19 #49195C
analogous
#4D5C19 #2C5C19 #195C27
triadic
#2C5C19 #192C5C #5C192C
tetradic
#2C5C19 #194D5C #49195C #5C2719
square
#2C5C19 #194D5C #49195C #5C2719
split-complementary
#2C5C19 #27195C #5C194D
monochromatic
#0C1807 #152C0C #2C5C19 #438C26 #5ABC33

Accessibility & contrast

On white

7.92
#2C5C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C5C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5C19
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C19#FFFFFF#000000##FFFFFF
##2C5C191.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5410
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#28594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c19;
/* rgb */ color: rgb(44, 92, 25);
/* oklch */ color: oklch(42.6% 0.111 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a8a5a',
    500: '#2c5c19',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c19;
$custom-light: #6a8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c19",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 25
  },
  "hsl": {
    "h": 102.985,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.11062,
    "h": 138.2
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#2C5C19
secondary
#7B3F92
accent
#47E1B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5C19

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

Preview Lab → · Contrast checker → · Palette generator →

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