#2C5D18#2C5D18

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

Color values

HEX#2C5D18
RGBrgb(44, 93, 24)
HSLhsl(103, 59%, 23%)
HSVhsv(103, 74%, 36%)
CMYKcmyk(52.7%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.86, -30.43, 33.04)
CIE-LCHlch(34.86, 44.92, 132.64°)
OKLaboklab(42.83% -0.084 0.0753)
OKLCHoklch(42.83% 0.113 138.1)
XYZxyz(5.1177, 8.4298, 2.2214)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D18 #49185D
analogous
#4E5D18 #2C5D18 #185D27
triadic
#2C5D18 #182C5D #5D182C
tetradic
#2C5D18 #184E5D #49185D #5D2718
square
#2C5D18 #184E5D #49185D #5D2718
split-complementary
#2C5D18 #27185D #5D184E
monochromatic
#0C1806 #152C0B #2C5D18 #438E25 #5ABE31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5D18#FFFFFF#000000##FFFFFF
##2C5D181.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)
#60550E
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#285A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d18;
/* rgb */ color: rgb(44, 93, 24);
/* oklch */ color: oklch(42.8% 0.113 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8b59',
    500: '#2c5d18',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d18;
$custom-light: #6a8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d18",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 102.609,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42831,
    "c": 0.11281,
    "h": 138.1
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#2C5D18
secondary
#7B3D93
accent
#46E2B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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