#2C5E17#2C5E17

#2C5E17 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.115 H 138.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2C5E17
RGBrgb(44, 94, 23)
HSLhsl(102, 61%, 23%)
HSVhsv(102, 76%, 37%)
CMYKcmyk(53.2%, 0%, 75.5%, 63.1%)
CIE-LABlab(35.21, -30.96, 33.84)
CIE-LCHlch(35.21, 45.86, 132.45°)
OKLaboklab(43.11% -0.0855 0.0768)
OKLCHoklch(43.11% 0.115 138.1)
XYZxyz(5.1959, 8.6024, 2.1971)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5E17 #49175E
analogous
#4F5E17 #2C5E17 #175E26
triadic
#2C5E17 #172C5E #5E172C
tetradic
#2C5E17 #174F5E #49175E #5E2617
square
#2C5E17 #174F5E #49175E #5E2617
split-complementary
#2C5E17 #26175E #5E174F
monochromatic
#0C1906 #152D0B #2C5E17 #438F23 #5AC02F

Accessibility & contrast

On white

7.72
#2C5E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5E17
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5E17#FFFFFF#000000##FFFFFF
##2C5E171.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#285B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5e17;
/* rgb */ color: rgb(44, 94, 23);
/* oklch */ color: oklch(43.1% 0.115 138.1);
Tailwind
colors: {
  custom: {
    50: '#6b8c59',
    500: '#2c5e17',
    950: '#000000',
  },
}
SCSS
$custom: #2c5e17;
$custom-light: #6b8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5e17",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 102.254,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.11494,
    "h": 138.1
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#2C5E17
secondary
#7B3C95
accent
#44E4B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2C5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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