#2C5B15#2C5B15

#2C5B15 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.112 H 137.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2C5B15
RGBrgb(44, 91, 21)
HSLhsl(100, 63%, 22%)
HSVhsv(100, 77%, 36%)
CMYKcmyk(51.6%, 0%, 76.9%, 64.3%)
CIE-LABlab(34.13, -29.80, 33.59)
CIE-LCHlch(34.13, 44.91, 131.58°)
OKLaboklab(42.22% -0.0825 0.076)
OKLCHoklch(42.22% 0.112 137.4)
XYZxyz(4.9150, 8.0715, 2.0083)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B15 #44155B
analogous
#4F5B15 #2C5B15 #155B21
triadic
#2C5B15 #152C5B #5B152C
tetradic
#2C5B15 #154F5B #44155B #5B2115
square
#2C5B15 #154F5B #44155B #5B2115
split-complementary
#2C5B15 #21155B #5B154F
monochromatic
#0C1906 #14290A #2C5B15 #448D20 #5CBE2C

Accessibility & contrast

On white

8.03
#2C5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B15
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B15#FFFFFF#000000##FFFFFF
##2C5B151.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#29584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b15;
/* rgb */ color: rgb(44, 91, 21);
/* oklch */ color: oklch(42.2% 0.112 137.4);
Tailwind
colors: {
  custom: {
    50: '#6a8a57',
    500: '#2c5b15',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b15;
$custom-light: #6a8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b15",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 100.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.11219,
    "h": 137.4
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#2C5B15
secondary
#753992
accent
#42E6B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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